Skip to content

Commit 43744d7

Browse files
committed
ci updated for new features
1 parent 14d9dac commit 43744d7

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
strategy:
1717
matrix:
1818
toolchain: ["stable"]
19-
features: ["", "--features serde"]
19+
features: ["--features orx-parallel", "--features std", "--features serde"]
20+
no_std_features: ["--features serde"]
2021

2122
steps:
2223
- uses: actions/checkout@v4
@@ -36,24 +37,24 @@ jobs:
3637
run: cargo install cargo-no-std-check
3738

3839
- name: Build
39-
run: cargo build --verbose ${{ matrix.features }}
40+
run: cargo build --no-default-features --verbose ${{ matrix.features }}
4041
- name: Build-32bit
41-
run: cargo build --verbose --target i686-unknown-linux-musl ${{ matrix.features }}
42+
run: cargo build --no-default-features --verbose --target i686-unknown-linux-musl ${{ matrix.features }}
4243
- name: Build-wasm
43-
run: cargo build --verbose --target wasm32v1-none ${{ matrix.features }}
44+
run: cargo build --no-default-features --verbose --target wasm32v1-none ${{ matrix.no_std_features }}
4445

4546
- name: Test
46-
run: cargo test --verbose ${{ matrix.features }}
47+
run: cargo test --no-default-features --verbose ${{ matrix.features }}
4748
- name: Test-32bit
48-
run: cargo test --verbose --target i686-unknown-linux-musl ${{ matrix.features }}
49+
run: cargo test --no-default-features --verbose --target i686-unknown-linux-musl ${{ matrix.features }}
4950
- name: Check-wasm
50-
run: cargo check --verbose --target wasm32v1-none ${{ matrix.features }}
51+
run: cargo check --no-default-features --verbose --target wasm32v1-none ${{ matrix.features }}
5152

5253
- name: Clippy
53-
run: cargo clippy ${{ matrix.features }} -- -D warnings --verbose
54+
run: cargo clippy --no-default-features ${{ matrix.features }} -- -D warnings --verbose
5455

5556
- name: Miri
56-
run: cargo +nightly miri test --verbose ${{ matrix.features }}
57+
run: cargo +nightly miri --no-default-features test --verbose ${{ matrix.features }}
5758

5859
- name: NoStd
59-
run: cargo +nightly no-std-check ${{ matrix.features }}
60+
run: cargo +nightly no-std-check --no-default-features ${{ matrix.no_std_features }}

0 commit comments

Comments
 (0)