Skip to content

Update action.yml

Update action.yml #211

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++
- os: windows-latest
mode: release
config-opt: ""
env: ""
name: ${{ matrix.os }}|${{ matrix.mode }}|${{ matrix.config-opt }}|${{ matrix.env }}
runs-on: ${{ matrix.os }}
steps:
- if: matrix.os == 'windows-latest'
run: git config --global core.autocrlf input
- 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
if: matrix.os != 'windows-latest'
uses: ./.github/actions/test
with:
mode: ${{ matrix.mode }}
- name: Coverage
if: matrix.os != 'windows-latest' && matrix.mode == 'gcov'
uses: ./.github/actions/coverage
- name: Coveralls
if: matrix.os != 'windows-latest' && matrix.mode == 'gcov'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: 'coverage.info'