Skip to content

ci: better cargo test parameters + update dependencies #254

ci: better cargo test parameters + update dependencies

ci: better cargo test parameters + update dependencies #254

Workflow file for this run

name: Rust
on:
push:
branches: [dev]
pull_request:
branches: [dev]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
miri:
if: ( ! github.event.pull_request.draft )
name: "Test with Miri"
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu]
steps:
- uses: actions/checkout@v4
- name: Install Rust nightly with Miri
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: miri
targets: ${{ matrix.target }}
- uses: Swatinem/[email protected]
- name: Build
run: |
cargo version --verbose
cargo update
cargo build --target ${{ matrix.target }}
- name: Test with Miri on ${{ matrix.target }}
run: cargo miri test -p clmul -p matrix-transpose --target ${{ matrix.target }}