Skip to content

Commit edcdf26

Browse files
committed
github: add run step for no-std
Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
1 parent 97b8944 commit edcdf26

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/actions.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@ jobs:
2121
RUSTFLAGS: -D warnings
2222
- name: Run tests
2323
run: cargo test --all --verbose --features serialize,arbitrary
24+
no-std:
25+
name: no-std build and test
26+
strategy:
27+
matrix:
28+
os: ['ubuntu-latest', 'macos-latest']
29+
runs-on: ${{ matrix.os }}
30+
steps:
31+
- uses: actions/checkout@v2
32+
- name: Build
33+
run: cargo build --verbose --no-default-features
34+
env:
35+
RUSTFLAGS: -D warnings
36+
- name: Run tests
37+
run: cargo test --all --verbose --no-default-features
2438

2539
rustfmt_and_clippy:
2640
name: Check rustfmt style && run clippy

0 commit comments

Comments
 (0)