File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 11name : Build & Test
2-
32on :
43 push :
54 branches : [ main ]
87
98jobs :
109 build :
11- runs-on : windows-2022
10+ runs-on : windows-latest
1211 steps :
13- - name : Checkout
14- uses : actions/checkout@v4
12+ - uses : actions/checkout@v4
13+ with :
14+ submodules : true
1515
16- - name : Install vcpkg dependencies
17- run : vcpkg install
16+ - name : Bootstrap Vcpkg
17+ run : |
18+ cd vcpkg
19+ .\bootstrap-vcpkg.bat
1820
19- - name : Configure with CMake
20- run : cmake -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -G "Visual Studio 17 2022" -A x64 -S . -B out/build/ci-windows
21+ - name : Configure CMake
22+ run : |
23+ cmake -B build -S . `
24+ -DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" `
25+ -DVCPKG_TARGET_TRIPLET=x64-windows
2126
2227 - name : Build
23- run : cmake --build out/build/ci-windows --config Release
24-
25- - name : Test
26- run : ctest --test-dir out/build/ci-windows -C Release --output-on-failure
28+ run : cmake --build build --config Release
You can’t perform that action at this time.
0 commit comments