-
Notifications
You must be signed in to change notification settings - Fork 15
35 lines (29 loc) · 872 Bytes
/
no_std.yml
File metadata and controls
35 lines (29 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: no_std support
on:
workflow_call:
workflow_dispatch:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci-checks:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install RISC-V target
run: |
rustup target add riscv64imac-unknown-none-elf
- name: Check for riscv64imac-unknown-none-elf target
run: |
cargo check -p mega-evm --target riscv64imac-unknown-none-elf --no-default-features
- name: Check with std feature
run: |
cargo check -p mega-evm --features std