-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (26 loc) · 789 Bytes
/
Copy pathbuild.yaml
File metadata and controls
27 lines (26 loc) · 789 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
on: push
name: build
jobs:
check-build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm, macos-latest]
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
with:
components: cargo, rustc, rust-std
- run: cargo build --all-features
check-build-no-std:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- run: rustup target add thumbv7em-none-eabihf
- run: cargo build --no-default-features --features alloc
- run: cargo build --no-default-features --features alloc --target thumbv7em-none-eabihf