Skip to content

Update ci.yml

Update ci.yml #156

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 24, Col: 9): Unrecognized named-value: 'matrix'. Located at position 48 within expression: github.ref != 'refs/heads/per-thread-state' || matrix.config-opt != '--enable-mcsat'
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'