File tree Expand file tree Collapse file tree 1 file changed +35
-4
lines changed Expand file tree Collapse file tree 1 file changed +35
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
build :
14
+ name : Build - ${{ matrix.platform.target }}
15
+ runs-on : ubuntu-24.04
16
+ strategy :
17
+ matrix :
18
+ platform :
19
+ # Tier 1
20
+ - target : aarch64-unknown-linux-gnu
21
+ - target : i686-unknown-linux-gnu
22
+ - target : x86_64-unknown-linux-gnu
23
+ # Tier 2 with host tools
24
+ - target : arm-unknown-linux-gnueabi
25
+ - target : arm-unknown-linux-gnueabihf
26
+ - target : armv7-unknown-linux-gnueabihf
27
+ - target : loongarch64-unknown-linux-gnu
28
+ toolchain : 1.71.0
29
+ - target : riscv64gc-unknown-linux-gnu
30
+ - target : s390x-unknown-linux-gnu
31
+ # Tier 2 without host tools
32
+ - target : armv7-unknown-linux-gnueabi
33
+ steps :
34
+ - name : Checkout
35
+ uses : actions/checkout@v4
36
+ - name : Build
37
+ uses : houseabsolute/actions-rust-cross@v1
38
+ with :
39
+ toolchain : ${{ matrix.platform.toolchain || '1.70.0' }}
40
+ command : build
41
+ target : ${{ matrix.platform.target }}
42
+ args : " --release --verbose --features feat-rate-limit"
43
+ strip : true
14
44
15
- runs-on : ubuntu-latest
16
-
45
+ test :
46
+ runs-on : ubuntu-24.04
17
47
steps :
18
48
- uses : actions/checkout@v4
19
- - name : Build
20
- run : cargo build --verbose --features feat-rate-limit
49
+ - uses : dtolnay/rust-toolchain@master
50
+ with :
51
+ toolchain : 1.70.0
21
52
- name : Run tests
22
53
run : cargo test --verbose --features feat-rate-limit
You can’t perform that action at this time.
0 commit comments