Skip to content

Commit 942f95c

Browse files
committed
improve CI output
1 parent f2a606b commit 942f95c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/ubuntu.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
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 }
1818

19-
name: Linux (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
19+
name: Linux (shared=${{ matrix.configurations.shared }} ${{ matrix.configurations.mode }})
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Install dependencies
@@ -36,7 +36,7 @@ jobs:
3636
ref: ${{ steps.extract_branch.outputs.branch }}
3737

3838
- 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
4040

4141
- name: Build gf
4242
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.configurations.mode }} --parallel

.github/workflows/windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
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 }
2222

23-
name: Windows (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
23+
name: Windows (shared=${{ matrix.configurations.shared }} ${{ matrix.configurations.mode }})
2424
runs-on: windows-latest
2525
steps:
2626
- name: vcpkg cache
@@ -62,7 +62,7 @@ jobs:
6262
shell: cmd
6363
run: |
6464
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
6666
6767
- name: Build gf
6868
shell: cmd

0 commit comments

Comments
 (0)