Skip to content

Commit

Permalink
add Debug and Release configs to CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
McCallisterRomer committed Jan 3, 2024
1 parent 092bed6 commit 10781af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
strategy:
matrix:
os: [windows-2022, ubuntu-22.04]
config: [Debug, Release]
variant: [Dev, Prod]
include:
- os: windows-2022
Expand Down Expand Up @@ -59,10 +60,10 @@ jobs:
version: 1.3.261.1

- name: Configure
run: ${{ matrix.cmakeEnv }} cmake -G "${{ matrix.generator }}" -S . -B build ${{ matrix.cmakeArgs }} -DCMAKE_INSTALL_PREFIX=install -DNC_BUILD_TESTS=ON
run: ${{ matrix.cmakeEnv }} cmake -G "${{ matrix.generator }}" -S . -B build ${{ matrix.cmakeArgs }} -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=install -DNC_BUILD_TESTS=ON

- name: Build and Install
run: cmake --build build --target install --config Release
run: cmake --build build --target install --parallel

- name: Run Tests
working-directory: ${{github.workspace}}/build/test
Expand Down

0 comments on commit 10781af

Please sign in to comment.