File tree 3 files changed +10
-14
lines changed
3 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
branches : [ master, develop ]
8
8
9
- env :
10
- BUILD_TYPE : Release
11
-
12
9
jobs :
13
10
build :
14
11
strategy :
15
12
fail-fast : false
16
13
matrix :
17
14
configurations :
18
- - { name: Linux, shared: ON , mode: Debug }
19
- - { name: Linux, shared: ON , mode: Release }
20
- - { name: Linux, shared: OFF, mode: Debug }
15
+ - { name: Linux, shared: "ON" , mode: Debug }
16
+ - { name: Linux, shared: "ON" , mode: Release }
17
+ - { name: Linux, shared: " OFF" , mode: Debug }
21
18
22
19
name : Linux (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
23
20
runs-on : ubuntu-latest
39
36
ref : ${{ steps.extract_branch.outputs.branch }}
40
37
41
38
- name : Configure gf
42
- 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 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} - 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
43
40
44
41
- name : Build gf
45
42
run : cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --parallel
Original file line number Diff line number Diff line change 7
7
branches : [ master, develop ]
8
8
9
9
env :
10
- BUILD_TYPE : Release
11
10
VCPKG_COMMIT : 6f29f12e82a8293156836ad81cc9bf5af41fe836
12
11
VCPKG_DEFAULT_BINARY_CACHE : ${{ github.workspace }}\vcpkg\binary-cache
13
12
17
16
fail-fast : false
18
17
matrix :
19
18
configurations :
20
- - { name: Windows, shared: ON , mode: Debug }
21
- - { name: Windows, shared: ON , mode: Release }
22
- - { name: Windows, shared: OFF, mode: Debug }
19
+ - { name: Windows, shared: "ON" , mode: Debug }
20
+ - { name: Windows, shared: "ON" , mode: Release }
21
+ - { name: Windows, shared: " OFF" , mode: Debug }
23
22
24
23
name : Windows (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
25
24
runs-on : windows-latest
63
62
shell : cmd
64
63
run : |
65
64
set PATH=%PATH%;${{github.workspace}}/gf/build/library/${{ env.BUILD_TYPE }}
66
- 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_BUILD_TYPE=${{ env.BUILD_TYPE }} - 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
67
66
68
67
- name : Build gf
69
68
shell : cmd
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: XMakeBuild
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [ master, develop ]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [ master, develop ]
8
8
9
9
jobs :
10
10
build :
You can’t perform that action at this time.
0 commit comments