Skip to content

Commit

Permalink
building both debug & release in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benthevining authored and ffAudio committed Jul 27, 2023
1 parent 7c7abd8 commit 0bfe37a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ on:
- 'next-generation'
pull_request: {}

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - ${{ matrix.build_type }}
strategy:
matrix:
os: [macos-latest, windows-latest]
build_type: [Debug, Release]
fail-fast: false

steps:
Expand All @@ -28,7 +27,7 @@ jobs:
run: cmake --preset maintainer --log-level=VERBOSE

- name: Build
run: cmake --build --preset maintainer --config ${{ env.BUILD_TYPE }}
run: cmake --build --preset maintainer --config ${{ matrix.build_type }}

- name: Run tests
run: ctest --preset maintainer -j 4 -C ${{ env.BUILD_TYPE }}
run: ctest --preset maintainer -j 4 -C ${{ matrix.build_type }}

0 comments on commit 0bfe37a

Please sign in to comment.