Skip to content

add CI

add CI #2

Workflow file for this run

name: Unsoundness checks
on:
push:
branches:
- main
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUSTFLAGS: "--cfg=ci_run"
# Permissive provenance is required due to warnings in bitvec 1.0.1
# Proptest flags required to fix https://github.com/proptest-rs/proptest/issues/253
MIRIFLAGS: '-Zmiri-permissive-provenance -Zmiri-env-forward=PROPTEST_DISABLE_FAILURE_PERSISTENCE'
PROPTEST_DISABLE_FAILURE_PERSISTENCE: true
jobs:
miri:
name: "Miri"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- install-llvm:

Check failure on line 29 in .github/workflows/unsoundness.yml

View workflow run for this annotation

GitHub Actions / Unsoundness checks

Invalid workflow file

The workflow is not valid. .github/workflows/unsoundness.yml (Line: 29, Col: 9): Unexpected value 'install-llvm'
run: "sudo apt-get update && sudo apt-get install -y llvm-14"
- name: Install Miri
run: |
rustup toolchain install nightly --component miri
rustup override set nightly
cargo miri setup
- uses: Swatinem/rust-cache@v2
with:
prefix-key: v0-miri
- name: Test with Miri
run: cargo miri test