Skip to content

Commit ecfd3d2

Browse files
authored
update workflow
Refactor workflow matrix to include Linux ARM64 target.
1 parent 9ab485c commit ecfd3d2

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.github/workflows/workflow.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,17 @@ jobs:
4343
strategy:
4444
matrix:
4545
include:
46-
# Linux
47-
- os: ubuntu-latest
48-
target: x86_64-unknown-linux-gnu
49-
arch: x86_64
50-
platform: linux
51-
# macOS
52-
- os: macos-latest
53-
target: x86_64-apple-darwin
54-
arch: x86_64
55-
platform: macos
56-
- os: macos-latest
57-
target: aarch64-apple-darwin
58-
arch: arm64
59-
platform: macos
46+
# Linux x86_64
47+
- os: ubuntu-latest
48+
target: x86_64-unknown-linux-gnu
49+
arch: x86_64
50+
platform: linux
51+
52+
# Linux ARM64 (cross-compile)
53+
- os: ubuntu-latest
54+
target: aarch64-unknown-linux-gnu
55+
arch: arm64
56+
platform: linux
6057
runs-on: ${{ matrix.os }}
6158
steps:
6259
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)