Skip to content

Commit

Permalink
improve CI output
Browse files Browse the repository at this point in the history
  • Loading branch information
jube committed Jan 30, 2025
1 parent 1f88938 commit f2a606b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
fail-fast: false
matrix:
configurations:
- { name: Linux, shared: "ON", mode: Debug }
- { name: Linux, shared: "ON", mode: Release }
- { name: Linux, shared: "OFF", mode: Debug }
- { name: Linux, shared: "BUILD_SHARED_LIBS=ON", mode: Debug }
- { name: Linux, shared: "BUILD_SHARED_LIBS=ON", mode: Release }
- { name: Linux, shared: "BUILD_SHARED_LIBS=OFF", mode: Debug }

name: Linux (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
runs-on: ubuntu-latest
Expand All @@ -36,7 +36,7 @@ jobs:
ref: ${{ steps.extract_branch.outputs.branch }}

- name: Configure gf
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
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

- name: Build gf
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.configurations.mode }} --parallel
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
fail-fast: false
matrix:
configurations:
- { name: Windows, shared: "ON", mode: Debug }
- { name: Windows, shared: "ON", mode: Release }
- { name: Windows, shared: "OFF", mode: Debug }
- { name: Windows, shared: "BUILD_SHARED_LIBS=ON", mode: Debug }
- { name: Windows, shared: "BUILD_SHARED_LIBS=ON", mode: Release }
- { name: Windows, shared: "BUILD_SHARED_LIBS=OFF", mode: Debug }

name: Windows (${{ matrix.configurations.kind }} ${{ matrix.configurations.mode }})
runs-on: windows-latest
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
shell: cmd
run: |
set PATH=%PATH%;${{github.workspace}}/gf/build/library/${{ matrix.configurations.mode }}
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
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
- name: Build gf
shell: cmd
Expand Down

0 comments on commit f2a606b

Please sign in to comment.