File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 30
30
ref : ${{ steps.extract_branch.outputs.branch }}
31
31
32
32
- name : Configure gf
33
- run : cmake -DGF_BUILD_GAMES=OFF -DGF_BUILD_EXAMPLES=OFF -DGF_BUILD_DOCUMENTATION=OFF -DGF_DEBUG=OFF - DCMAKE_UNITY_BUILD=ON -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -S ${{ github.workspace }} -B ${{ github.workspace }}/build
33
+ run : cmake -DGF_BUILD_GAMES=OFF -DGF_BUILD_EXAMPLES=OFF -DGF_BUILD_DOCUMENTATION=OFF -DCMAKE_UNITY_BUILD=ON -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -S ${{ github.workspace }} -B ${{ github.workspace }}/build
34
34
35
35
- name : Build gf
36
36
run : cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --parallel
Original file line number Diff line number Diff line change 54
54
shell : cmd
55
55
run : |
56
56
set PATH=%PATH%;${{github.workspace}}/gf/build/library/${{ env.BUILD_TYPE }}
57
- cmake -DGF_USE_EMBEDDED_LIBS=OFF - DGF_BUILD_GAMES=OFF -DGF_BUILD_EXAMPLES=OFF -DGF_BUILD_DOCUMENTATION=OFF -DGF_DEBUG =OFF -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake -S ${{ github.workspace }}/gf -B ${{ github.workspace }}/gf/build
57
+ cmake -DGF_BUILD_GAMES=OFF -DGF_BUILD_EXAMPLES=OFF -DGF_BUILD_DOCUMENTATION=OFF -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake -S ${{ github.workspace }}/gf -B ${{ github.workspace }}/gf/build
58
58
59
59
- name : Build gf
60
60
shell : cmd
67
67
working-directory : ${{ github.workspace }}/gf/build
68
68
run : |
69
69
set PATH=%PATH%;${{github.workspace}}/gf/build/library/${{ env.BUILD_TYPE }}
70
- ctest -j $(nproc) - C ${{ env.BUILD_TYPE }} --output-on-failure
70
+ ctest -C ${{ env.BUILD_TYPE }} --output-on-failure
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if(NOT APPLE)
54
54
endif ()
55
55
56
56
if (MSVC )
57
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /DNOMINMAX /utf-8 /wd4251" )
57
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS / utf-8 /wd4251" )
58
58
endif ()
59
59
60
60
add_subdirectory (library )
You can’t perform that action at this time.
0 commit comments