Skip to content

feat: workflow to validate no_std compatibility #5

feat: workflow to validate no_std compatibility

feat: workflow to validate no_std compatibility #5

Workflow file for this run

name: no_std
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
check-no-std:
name: check no_std ${{ matrix.features }}
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
crate: ["superchain", "superchain-primitives", "superchain-registry"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: riscv32imac-unknown-none-elf
- run: cargo check --target riscv32imac-unknown-none-elf --no-default-features -p ${{ matrix.crate }}