Skip to content

Commit b4b36dc

Browse files
committed
split ci tasks
1 parent d48db85 commit b4b36dc

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,39 @@ on:
77
- main
88

99
jobs:
10-
test:
10+
check:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v5
1414
- name: rustfmt
1515
run: cargo fmt -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate,format_code_in_doc_comments=true"
1616
- name: clippy
17-
run: cargo clippy -- -D warnings
17+
run: cargo clippy --all-targets -- -D warnings
1818
- name: test
1919
run: cargo test
20+
miri:
21+
needs: check
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v5
2025
- name: install miri
2126
run: rustup install nightly && rustup +nightly component add miri
2227
- name: miri
2328
run: cargo +nightly miri test
2429
env:
2530
MIRIFLAGS: "-Zmiri-many-seeds=0..256"
31+
loom:
32+
needs: check
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v5
2636
- name: loom
2737
run: cargo test --release --lib
2838
env:
2939
RUSTFLAGS: "--cfg loom"
3040
LOOM_MAX_PREEMPTIONS: "3"
3141
benchmark:
42+
needs: check
3243
strategy:
3344
matrix:
3445
os: [unbuntu-24.04, ubuntu-24.04-arm]

0 commit comments

Comments
 (0)