@@ -12,40 +12,38 @@ jobs:
12
12
matrix :
13
13
profile : [ON, OFF]
14
14
updater : [ON, OFF]
15
- runs-on : windows-2019
15
+ runs-on : windows-latest
16
16
steps :
17
- - uses : actions/checkout@v2
18
- with :
19
- submodules : recursive
17
+ - uses : actions/checkout@v4
18
+ with : { submodules: recursive, fetch-depth: 0 }
20
19
21
20
- uses : suisei-cn/actions-download-file@v1
22
21
id : downloadfile
23
22
name : Download prebuilt OpenCV
24
23
with :
25
- url : " https://actiona.tools/files/opencv-4.5.1 -x64-vc16 .7z"
24
+ url : " https://actiona.tools/files/opencv-4.11.0 -x64-vc17 .7z"
26
25
27
26
- name : Extract OpenCV
28
27
run : 7z x -oopencv ${{ steps.downloadfile.outputs.filename }}
29
28
30
29
- name : setup-msbuild
31
- uses : microsoft/setup-msbuild@v1
30
+ uses : microsoft/setup-msbuild@v2
32
31
33
32
- name : Install Qt
34
- uses : jurplel/install-qt-action@v3
33
+ uses : jurplel/install-qt-action@v4
35
34
with :
36
- version : 6.4 .3
37
- arch : win64_msvc2019_64
35
+ version : 6.8 .3
36
+ arch : win64_msvc2022_64
38
37
modules : ' qtspeech qtmultimedia qt5compat'
38
+ cache : true
39
39
40
40
- name : Create Build Environment
41
41
run : cmake -E make_directory ${{github.workspace}}/build
42
42
43
43
- name : Configure CMake
44
44
shell : bash
45
45
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
47
- env :
48
- BOOST_ROOT : ${{ steps.install-boost.outputs.BOOST_ROOT }}
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/vc17/lib"
49
47
50
48
- name : Build
51
49
working-directory : ${{github.workspace}}/build
0 commit comments