Skip to content

Commit 7102fea

Browse files
authored
ci: add CI for no_std (#7)
* ci: add CI for no_std * fix: move rstest to dev deps
1 parent f39d418 commit 7102fea

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ jobs:
1414
- uses: dtolnay/rust-toolchain@stable
1515
- run: cargo build
1616
- run: cargo test
17+
no_std:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: dtolnay/rust-toolchain@stable
22+
with:
23+
targets: x86_64-unknown-none
24+
- run: cargo build --target x86_64-unknown-none
1725
clippy:
1826
runs-on: ubuntu-latest
1927
steps:

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ categories = ["algorithms", "graphics"]
1313

1414
[dependencies]
1515
bitflags = "2.9.0"
16+
17+
[dev-dependencies]
1618
rstest = "0.25.0"

0 commit comments

Comments
 (0)