Skip to content

Commit

Permalink
Add no_std CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
pitdicker committed Feb 26, 2024
1 parent 57075d6 commit 3b795c8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ jobs:
run: cargo test --verbose --all-features --all
- name: Build Examples
run: cargo build --examples --all-features --all
no_std_build:
name: no_std Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup update
- name: Build
run: cargo build --verbose --no-default-features
- name: Build
run: cargo build --verbose --no-default-features --features=alloc
- name: Run tests
run: cargo test --verbose --no-default-features
- name: Run tests as no_std with alloc
run: cargo test --verbose --no-default-features --features=alloc
clippy:
name: Clippy
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3b795c8

Please sign in to comment.