Update ci.yml #156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | ||
on: | ||
push: | ||
pull_request: | ||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
mode: [debug, release] | ||
config-opt: [--enable-mcsat, --enable-thread-safety] | ||
env: [CC=gcc CXX=g++, CC=clang CXX=clang++] | ||
include: | ||
- os: ubuntu-latest | ||
mode: gcov | ||
config-opt: --enable-mcsat | ||
env: CC=gcc CXX=g++ | ||
name: ${{ matrix.os }}|${{ matrix.mode }}|${{ matrix.config-opt }}|${{ matrix.env }} | ||
runs-on: ${{ matrix.os }} | ||
if: github.ref != 'refs/heads/per-thread-state' || matrix.config-opt != '--enable-mcsat' | ||
Check failure on line 24 in .github/workflows/ci.yml GitHub Actions / CIInvalid workflow file
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Dependencies | ||
uses: ./.github/actions/install-dependencies | ||
- name: Build | ||
uses: ./.github/actions/build | ||
with: | ||
mode: ${{ matrix.mode }} | ||
config-opt: ${{ matrix.config-opt }} | ||
env: ${{ matrix.env }} | ||
- name: Test | ||
uses: ./.github/actions/test | ||
with: | ||
mode: ${{ matrix.mode }} | ||
- name: Coverage | ||
if: matrix.mode == 'gcov' | ||
uses: ./.github/actions/coverage | ||
- name: Coveralls | ||
if: matrix.mode == 'gcov' | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: 'coverage.info' |