File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed
Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 1- name : " build"
1+ name : " windows- build"
22
33on :
44 push :
77 branches : ["main"]
88
99
10+
11+ env :
12+ BUILD_TYPE : Release
13+ VCPKG_FILE : c:/vcpkg/scripts/buildsystems/vcpkg.cmake
14+
1015jobs :
11- build :
16+ windows :
1217 runs-on : windows-latest
1318
1419 steps :
15- - uses : actions/checkout@v2
16-
17- - name : Create Build Environment
18- run : cmake -E make_directory ${{github.workspace}}/build
19-
20- - name : Configure CMake
21- shell : cmd
22- run : |
23- cd ${{github.workspace}}/build
24- cmake .. -DCMAKE_BUILD_TYPE=Release
25-
26- - name : Build
27- shell : cmd
28- run : |
29- cd ${{github.workspace}}/build
30- cmake --build . --config Release
20+ - uses : actions/checkout@v4
21+
22+ - name : CMAKE Configure
23+ run : >
24+ cmake -B ${{github.workspace}}/build -S ${{github.workspace}}
25+ -D CMAKE_BUILD_TYPE=Release
26+ - name : CMake Build
27+ run : cmake --build ${{github.workspace}}/build --config Release
28+
29+ # - name: Unit Test
30+ # working-directory: ${{github.workspace}}/build
31+ # run: ctest -C ${{env.BUILD_TYPE}}
You can’t perform that action at this time.
0 commit comments