Skip to content

Commit

Permalink
Run tests with g++ and clang++
Browse files Browse the repository at this point in the history
These two mainstream compilers may discover warnings that the other
does not catch, so we'd like to run tests with both.
  • Loading branch information
Lai-YT committed Oct 13, 2023
1 parent b3e6aa9 commit 31c1cdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
scripts/check-format.sh
test:
runs-on: ubuntu-22.04
strategy:
matrix:
cxx: [g++, clang++]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
Expand All @@ -29,4 +32,4 @@ jobs:
- name: Install Turnt
run: pip install turnt
- name: Run tests
run: make test
run: make test CXX=${{ matrix.cxx }}

0 comments on commit 31c1cdb

Please sign in to comment.