Skip to content

Commit 7bb20d0

Browse files
committed
Fix Windows CI
1 parent d0bda18 commit 7bb20d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
profile: [ON, OFF]
1414
updater: [ON, OFF]
15-
runs-on: windows-2019
15+
runs-on: windows-latest
1616
steps:
1717
- uses: actions/checkout@v2
1818
with:
@@ -22,7 +22,7 @@ jobs:
2222
id: downloadfile
2323
name: Download prebuilt OpenCV
2424
with:
25-
url: "https://actiona.tools/files/opencv-4.5.1-x64-vc16.7z"
25+
url: "https://actiona.tools/files/opencv-4.11.0-x64-vc17.7z"
2626

2727
- name: Extract OpenCV
2828
run: 7z x -oopencv ${{ steps.downloadfile.outputs.filename }}
@@ -31,10 +31,10 @@ jobs:
3131
uses: microsoft/setup-msbuild@v1
3232

3333
- name: Install Qt
34-
uses: jurplel/install-qt-action@v3
34+
uses: jurplel/install-qt-action@v4
3535
with:
36-
version: 6.4.3
37-
arch: win64_msvc2019_64
36+
version: 6.8.3
37+
arch: win64_msvc2022_64
3838
modules: 'qtspeech qtmultimedia qt5compat'
3939

4040
- name: Create Build Environment
@@ -43,7 +43,7 @@ jobs:
4343
- name: Configure CMake
4444
shell: bash
4545
working-directory: ${{github.workspace}}/build
46-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DACT_PROFILE=${{ matrix.profile }} -DACT_UPDATER=${{ matrix.updater }} -G "Visual Studio 16 2019" -DOpenCV_DIR=$GITHUB_WORKSPACE/opencv/x64/vc16/lib
46+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DACT_PROFILE=${{ matrix.profile }} -DACT_UPDATER=${{ matrix.updater }} -G "Visual Studio 17 2022" -DOpenCV_DIR=$GITHUB_WORKSPACE/opencv/x64/vc16/lib
4747
env:
4848
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
4949

0 commit comments

Comments
 (0)