Skip to content

Commit 92f061b

Browse files
committed
CI: Check all features
1 parent 106b52b commit 92f061b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

+19
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,25 @@ defaults:
1818
shell: bash
1919

2020
jobs:
21+
check:
22+
name: Check
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: taiki-e/install-action@cargo-hack
26+
- name: Install NASM
27+
run: |
28+
sudo apt-get update
29+
sudo apt-get install nasm
30+
- uses: actions/checkout@v3
31+
- run: rustup show
32+
- uses: Swatinem/rust-cache@v2
33+
- name: Check each feature
34+
run: |
35+
cargo hack check --package libhermit-rs --each-feature --no-dev-deps --exclude-features newlib --target x86_64-unknown-none
36+
cargo check --package libhermit-rs --no-default-features --features newlib --target x86_64-unknown-none
37+
env:
38+
RUSTFLAGS:
39+
2140
clippy:
2241
name: Clippy
2342
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)