Skip to content

Commit 26330ee

Browse files
committed
Add linux/arm64 (aarch64) release binaries
- Add aarch64-unknown-linux-gnu tarball to build matrix - Convert linux-packages job to matrix for amd64/arm64 - Build arm64 .deb and .rpm packages on native runner Closes #2
1 parent 399f6b1 commit 26330ee

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- name: Linux x86_64
2020
target: x86_64-unknown-linux-gnu
2121
os: ubuntu-latest
22+
- name: Linux ARM64
23+
target: aarch64-unknown-linux-gnu
24+
os: ubuntu-24.04-arm
2225
- name: macOS ARM64
2326
target: aarch64-apple-darwin
2427
os: macos-latest
@@ -66,8 +69,16 @@ jobs:
6669
path: bash-ast-${{ github.ref_name }}-${{ matrix.target }}.tar.gz
6770

6871
linux-packages:
69-
name: Build Linux Packages
70-
runs-on: ubuntu-22.04 # Use older glibc for wider compatibility
72+
name: Build Linux Packages (${{ matrix.arch }})
73+
runs-on: ${{ matrix.os }}
74+
strategy:
75+
fail-fast: false
76+
matrix:
77+
include:
78+
- arch: amd64
79+
os: ubuntu-22.04 # Use older glibc for wider compatibility
80+
- arch: arm64
81+
os: ubuntu-24.04-arm
7182
steps:
7283
- uses: actions/checkout@v4
7384
with:
@@ -108,13 +119,13 @@ jobs:
108119
- name: Upload .deb artifact
109120
uses: actions/upload-artifact@v4
110121
with:
111-
name: linux-deb
122+
name: linux-deb-${{ matrix.arch }}
112123
path: target/debian/*.deb
113124

114125
- name: Upload .rpm artifact
115126
uses: actions/upload-artifact@v4
116127
with:
117-
name: linux-rpm
128+
name: linux-rpm-${{ matrix.arch }}
118129
path: target/generate-rpm/*.rpm
119130

120131
bottle:

0 commit comments

Comments
 (0)