Skip to content

Commit

Permalink
fixup! test build w different compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Nov 2, 2024
1 parent 0b07f56 commit 9af1b23
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,13 @@ jobs:
build:
strategy:
fail-fast: false
matrix: # copy Yosys' test build matrix (w/o macOS)
matrix:
os:
- ubuntu-latest
compiler:
# oldest supported
- 'clang-14'
- 'gcc-10'
# newest
- 'clang'
- 'gcc'
include:
# oldest clang not available on ubuntu-latest
- os: ubuntu-20.04
compiler: 'clang-10'
- 'clang-18'
- 'gcc-11'
- 'gcc-13'
runs-on: ${{ matrix.os }}
env:
CC_SHORT: ${{ startsWith(matrix.compiler, 'gcc') && 'gcc' || 'clang' }}
Expand Down

0 comments on commit 9af1b23

Please sign in to comment.