Skip to content

Commit b5f4b53

Browse files
committed
standalone-installer-unix: Use new aarch64 builds for Linux
Conditions on the Nextstrain CLI version being requested, as aarch64 builds¹ will only be available going forward for new releases. Assumes the next release will be 10.4.2! We must wait to merge this until after the first release (i.e. 10.4.2) of the changes it depends on above. ¹ <#489>
1 parent 543c949 commit b5f4b53

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/standalone-installers.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
os:
3838
- ubuntu-22.04
3939
- ubuntu-24.04
40+
- ubuntu-22.04-arm
41+
- ubuntu-24.04-arm
4042
- macos-13
4143
- macos-14 # (aarch64)
4244
- macos-15 # (aarch64)

bin/standalone-installer-unix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ target-triple() {
109109

110110
case "$KERNEL" in
111111
Linux)
112-
[[ "$machine" == x86_64 ]] || die "unsupported architecture: $machine"
112+
[[ "$machine" == x86_64 ]] \
113+
|| ([[ "$machine" == aarch64 ]] && version-gte 10.4.2) \
114+
|| die "unsupported architecture: $machine"
113115
vendor=unknown
114116
os=linux-gnu
115117
;;

0 commit comments

Comments
 (0)