File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1212 fail-fast : false
1313 matrix :
1414 configurations :
15- - { name: Linux, shared: "ON", mode: Debug }
16- - { name: Linux, shared: "ON", mode: Release }
17- - { name: Linux, shared: "OFF", mode: Debug }
15+ - { name: Linux, shared: "BUILD_SHARED_LIBS= ON", mode: Debug }
16+ - { name: Linux, shared: "BUILD_SHARED_LIBS= ON", mode: Release }
17+ - { name: Linux, shared: "BUILD_SHARED_LIBS= OFF", mode: Debug }
1818
1919 name : Linux (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
2020 runs-on : ubuntu-latest
3636 ref : ${{ steps.extract_branch.outputs.branch }}
3737
3838 - name : Configure gf
39- run : cmake -DBUILD_SHARED_LIBS= ${{ matrix.configurations.shared }} -DCMAKE_BUILD_TYPE=${{ matrix.configurations.mode }} -DGF_BUILD_GAMES=OFF -DGF_BUILD_EXAMPLES=OFF -DGF_BUILD_DOCUMENTATION=OFF -DCMAKE_UNITY_BUILD=ON -S ${{ github.workspace }} -B ${{ github.workspace }}/build
39+ run : cmake -D ${{ matrix.configurations.shared }} -DCMAKE_BUILD_TYPE=${{ matrix.configurations.mode }} -DGF_BUILD_GAMES=OFF -DGF_BUILD_EXAMPLES=OFF -DGF_BUILD_DOCUMENTATION=OFF -DCMAKE_UNITY_BUILD=ON -S ${{ github.workspace }} -B ${{ github.workspace }}/build
4040
4141 - name : Build gf
4242 run : cmake --build ${{ github.workspace }}/build --config ${{ matrix.configurations.mode }} --parallel
Original file line number Diff line number Diff line change 1616 fail-fast : false
1717 matrix :
1818 configurations :
19- - { name: Windows, shared: "ON", mode: Debug }
20- - { name: Windows, shared: "ON", mode: Release }
21- - { name: Windows, shared: "OFF", mode: Debug }
19+ - { name: Windows, shared: "BUILD_SHARED_LIBS= ON", mode: Debug }
20+ - { name: Windows, shared: "BUILD_SHARED_LIBS= ON", mode: Release }
21+ - { name: Windows, shared: "BUILD_SHARED_LIBS= OFF", mode: Debug }
2222
2323 name : Windows (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
2424 runs-on : windows-latest
6262 shell : cmd
6363 run : |
6464 set PATH=%PATH%;${{github.workspace}}/gf/build/library/${{ matrix.configurations.mode }}
65- cmake -DBUILD_SHARED_LIBS= ${{ matrix.configurations.shared }} -DCMAKE_BUILD_TYPE=${{ matrix.configurations.mode }} -DGF_BUILD_GAMES=OFF -DGF_BUILD_EXAMPLES=OFF -DGF_BUILD_DOCUMENTATION=OFF -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake -S ${{ github.workspace }}/gf -B ${{ github.workspace }}/gf/build
65+ cmake -D ${{ matrix.configurations.shared }} -DCMAKE_BUILD_TYPE=${{ matrix.configurations.mode }} -DGF_BUILD_GAMES=OFF -DGF_BUILD_EXAMPLES=OFF -DGF_BUILD_DOCUMENTATION=OFF -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake -S ${{ github.workspace }}/gf -B ${{ github.workspace }}/gf/build
6666
6767 - name : Build gf
6868 shell : cmd
You can’t perform that action at this time.
0 commit comments