Skip to content

Update README

Update README #155

Workflow file for this run

name: Rust CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Run tests
env:
RUSTFLAGS: "--cfg test_in_ci"
run: |
cargo test --all-features
cargo test
cargo test --no-default-features
miri:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Nightly Rust with Miri
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: miri
override: true
- name: Run Miri tests
env:
RUSTFLAGS: "--cfg test_in_ci"
# todo temporary workaround. Remove `--workspace --exclude eros-macros`. Right now there is github runner bug, getting "Permission denied" when trying to access a build file related to eros-macros. Works locally. Busting cache on the runner has no effect. eros-macros uses no unsafe so this is fine.
run: |
cargo miri test --workspace --exclude eros-macros