Skip to content

fix: Guard ADX Feature #40

fix: Guard ADX Feature

fix: Guard ADX Feature #40

Workflow file for this run

name: Tests
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Cache cargo build
uses: Swatinem/rust-cache@v1
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: rustfmt, clippy
target: wasm32-unknown-unknown
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
- name: Run grumpkin_msm example
run: cargo run --release --example grumpkin_msm
- name: Run pasta_msm example
run: cargo run --release --example pasta_msm
- name: Check benches build
run: cargo check --benches