File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 11name : Build & Test
2+
23on :
34 push :
45 branches : [ main ]
56 pull_request :
67 branches : [ main ]
8+
79jobs :
810 build :
911 runs-on : windows-2022
1012 steps :
11- - uses : actions/checkout@v4
12- - run : vcpkg install
13- - run : cmake --preset=ci-windows
14- - run : cmake --build --preset=ci-windows --config Release
15- - run : ctest --preset=ci-windows -C Release --output-on-failure
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ - name : Install vcpkg dependencies
17+ run : vcpkg install
18+
19+ - name : Configure with CMake
20+ run : cmake -DCMAKE_TOOLCHAIN_FILE=$env:VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake -G "Visual Studio 17 2022" -A x64 -S . -B out/build/ci-windows
21+
22+ - name : Build
23+ run : cmake --build out/build/ci-windows --config Release
1624
25+ - name : Test
26+ run : ctest --test-dir out/build/ci-windows -C Release --output-on-failure
You can’t perform that action at this time.
0 commit comments