Skip to content

Commit cc8530d

Browse files
committed
update ci
1 parent d9f51e9 commit cc8530d

1 file changed

Lines changed: 37 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,48 @@ env:
1111

1212
jobs:
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

0 commit comments

Comments
 (0)