Skip to content
This repository has been archived by the owner on Feb 18, 2025. It is now read-only.

Commit

Permalink
feat: workflow to validate no_std compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Sep 2, 2024
1 parent f31070b commit d3508b2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/no_std.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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 }}

0 comments on commit d3508b2

Please sign in to comment.