File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212jobs :
1313 test :
14- name : Test
15- runs-on : ubuntu-latest
14+ name : ${{ matrix.name }}
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ include :
19+ - name : windows x64
20+ os : windows-latest
21+ target : x86_64-pc-windows-msvc
22+ triplet : x64-windows
23+ - name : windows arm64
24+ os : windows-11-arm
25+ target : aarch64-pc-windows-msvc
26+ triplet : arm64-windows
27+ - name : ubuntu x64
28+ os : ubuntu-latest
29+ target : x86_64-unknown-linux-gnu
30+ triplet : x86_64-unknown-linux-gnu
31+ - name : ubuntu arm64
32+ os : ubuntu-24.04-arm
33+ target : aarch64-unknown-linux-gnu
34+ triplet : aarch64-unknown-linux-gnu
35+ - name : mac os arm
36+ os : macos-latest
37+ target : aarch64-apple-darwin
38+ triplet : aarch64-apple-darwin
39+
40+ runs-on : ${{ matrix.os }}
41+
1642 steps :
17- - uses : actions/checkout@v4
18- - name : Set up Rust
43+ - name : Checkout
44+ uses : actions/checkout@v4
45+
46+ - name : Setup Rust
1947 uses : dtolnay/rust-toolchain@nightly
48+ with :
49+ targets : ${{ matrix.target }}
50+
2051 - name : Rust Cache
2152 uses : Swatinem/rust-cache@v2
53+
2254 - name : Build
2355 run : cargo build --verbose
56+
2457 - name : Run tests
2558 run : cargo test --verbose
You can’t perform that action at this time.
0 commit comments