Skip to content

Commit b794d9a

Browse files
authored
Eliminate Rust toolchain version requirement for Tier 2 architectures (#336)
... for architectures that the required version's prebuilt toolchain is not available for Signed-off-by: Kaiyang Wu <[email protected]>
1 parent 49e00ac commit b794d9a

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Bench
3434
run: cargo bench --package io-uring-bench
3535

36-
check-vendor:
36+
check-tier1:
3737
runs-on: ubuntu-latest
3838

3939
strategy:
@@ -47,6 +47,28 @@ jobs:
4747
- x86_64-unknown-linux-gnu
4848
- x86_64-unknown-linux-musl
4949
- aarch64-unknown-linux-gnu
50+
51+
steps:
52+
- uses: actions/checkout@v4
53+
- uses: dtolnay/rust-toolchain@stable
54+
with:
55+
toolchain: ${{ matrix.toolchain }}
56+
target: ${{ matrix.target }}
57+
components: clippy
58+
override: true
59+
- name: Lint
60+
run: cargo clippy --target ${{ matrix.target }}
61+
62+
check-tier2:
63+
runs-on: ubuntu-latest
64+
65+
strategy:
66+
fail-fast: false
67+
68+
matrix:
69+
toolchain:
70+
- stable
71+
target:
5072
- riscv64gc-unknown-linux-gnu
5173

5274
steps:

0 commit comments

Comments
 (0)