File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ jobs:
12
12
fail-fast : false
13
13
matrix :
14
14
configurations :
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 }
15
+ - { name: Linux, shared: "ON", mode: Debug }
16
+ - { name: Linux, shared: "ON", mode: Release }
17
+ - { name: Linux, shared: "OFF", mode: Debug }
18
18
19
- name : Linux (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
19
+ name : Linux (shared= ${{ matrix.configurations.shared }} ${{ matrix.configurations.mode }})
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- name : Install dependencies
36
36
ref : ${{ steps.extract_branch.outputs.branch }}
37
37
38
38
- name : Configure gf
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
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
40
40
41
41
- name : Build gf
42
42
run : cmake --build ${{ github.workspace }}/build --config ${{ matrix.configurations.mode }} --parallel
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ jobs:
16
16
fail-fast : false
17
17
matrix :
18
18
configurations :
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 }
19
+ - { name: Windows, shared: "ON", mode: Debug }
20
+ - { name: Windows, shared: "ON", mode: Release }
21
+ - { name: Windows, shared: "OFF", mode: Debug }
22
22
23
- name : Windows (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
23
+ name : Windows (shared= ${{ matrix.configurations.shared }} ${{ matrix.configurations.mode }})
24
24
runs-on : windows-latest
25
25
steps :
26
26
- name : vcpkg cache
62
62
shell : cmd
63
63
run : |
64
64
set PATH=%PATH%;${{github.workspace}}/gf/build/library/${{ matrix.configurations.mode }}
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
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
66
66
67
67
- name : Build gf
68
68
shell : cmd
You can’t perform that action at this time.
0 commit comments