Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-irfan authored Oct 3, 2023
1 parent 50db6a2 commit 1e8b4df
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
mode: [debug, release]
mode: [debug, release, gcov]
config-opt: [--enable-mcsat, --enable-thread-safety]
env: [CC=gcc CXX=g++, CC=clang CXX=clang++]
is-per-thread-state-branch:
- ${{ github.ref == 'refs/heads/per-thread-state' }}
include:
- os: ubuntu-latest
mode: gcov
config-opt: --enable-mcsat
env: CC=gcc CXX=g++
exclude:
- is-per-thread-state-branch: true
- mode: gcov
config-opt: --enable-thread-safety
env: CC=clang CXX=clang++

name: ${{ matrix.os }}|${{ matrix.mode }}|${{ matrix.config-opt }}|${{ matrix.env }}
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -48,7 +46,7 @@ jobs:
uses: ./.github/actions/coverage

- name: Coveralls
if: matrix.mode == 'gcov' && !matrix.is-per-thread-state-branch
if: matrix.mode == 'gcov'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 1e8b4df

Please sign in to comment.