Skip to content

Commit 1f88c9b

Browse files
committed
build: add linux arm build
1 parent 25cd2c3 commit 1f88c9b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,22 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
platform:
27+
- linux-arm
2728
- linux-x64
28-
- macos-arm64
29+
- macos-arm
2930
- macos-x64
3031
- windows-x64
3132
- wasm32-unknown
3233
- wasm32-wasi
3334

3435
include:
36+
- platform: linux-arm
37+
os: ubuntu-24.04-arm
38+
target: aarch64-unknown-linux-gnu
3539
- platform: linux-x64
3640
os: ubuntu-latest
3741
target: x86_64-unknown-linux-gnu
38-
- platform: macos-arm64
42+
- platform: macos-arm
3943
os: macos-15
4044
target: aarch64-apple-darwin
4145
- platform: macos-x64
@@ -79,7 +83,7 @@ jobs:
7983
cargo build --package file_type --target ${{ matrix.target }}
8084
8185
- name: Test
82-
if: ${{ !startsWith(matrix.platform, 'linux-') && !startsWith(matrix.platform, 'wasm32-') }}
86+
if: ${{ matrix.platform != 'linux-x64' && !startsWith(matrix.platform, 'wasm32-') }}
8387
env:
8488
CARGO_TERM_COLOR: always
8589
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -89,7 +93,7 @@ jobs:
8993
cargo test --workspace --all-features
9094
9195
- name: Test
92-
if: ${{ startsWith(matrix.platform, 'linux-') }}
96+
if: ${{ matrix.platform == 'linux-x64' }}
9397
env:
9498
CARGO_TERM_COLOR: always
9599
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)