This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
Make simplification with TOP more aggressive #1059
Workflow file for this run
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: Continuous Integration | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3.5.2 | |
- name: Run Clippy | |
run: | | |
cargo clippy --no-default-features --all-targets -- -D warnings | |
tests: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3.5.2 | |
- name: Execute tests | |
run: | | |
cargo test --all --features static-z3 -- --test-threads=1 | |
env: | |
CARGO_INCREMENTAL: 0 | |
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" | |
- name: Setup grcov | |
run: | | |
cargo install grcov | |
- name: Run grcov | |
run: | | |
zip -0 cov.zip $(find . -name "mirai*.gc*" -print) | |
grcov cov.zip -s . -t lcov --llvm --ignore-not-existing --ignore "/*" -o lcov.info | |
- name: Upload coverage data to codecov.io | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: "lcov.info" | |