Skip to content

Commit

Permalink
fix: system-agnostic config specification for CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Svalorzen committed Mar 6, 2024
1 parent 0bac577 commit 0d49f08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, Windows-2019, macos-11]
build-type: ["Release"]
build-type: ["Debug", "Release"]

steps:
- name: Checkout repository.
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Run CMake
working-directory: ${{ runner.workspace }}/GitHash/exampleProject/build
run: |
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
cmake .. --config ${{ matrix.build-type }}
- name: Build
Expand All @@ -38,4 +38,4 @@ jobs:
- name: Run test
working-directory: ${{ runner.workspace }}/GitHash/exampleProject/build
run: |
ctest -C Release -V
ctest -C ${{ matrix.build-type }} -V

0 comments on commit 0d49f08

Please sign in to comment.