Skip to content

Commit

Permalink
Try running both gcc and clang in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yarrick committed Jul 16, 2024
1 parent 0b323f0 commit 0c9b161
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ permissions:
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
cc: [clang, gcc]

steps:
- uses: actions/checkout@v4
Expand All @@ -21,6 +24,10 @@ jobs:

- name: Build scsniff
run: make
env:
CC: ${{matrix.cc}}

- name: Build and run tests
run: make check
env:
CC: ${{matrix.cc}}

0 comments on commit 0c9b161

Please sign in to comment.