From 7430aecd0da1f608f9b0838b8fffaf3278dba22e Mon Sep 17 00:00:00 2001 From: Thomas Sibley Date: Thu, 6 Nov 2025 14:48:31 -0800 Subject: [PATCH] standalone-installer-unix: Use new aarch64 builds for Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. ¹ --- .github/workflows/standalone-installers.yaml | 2 ++ bin/standalone-installer-unix | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/standalone-installers.yaml b/.github/workflows/standalone-installers.yaml index aef50cde..269fe972 100644 --- a/.github/workflows/standalone-installers.yaml +++ b/.github/workflows/standalone-installers.yaml @@ -37,6 +37,8 @@ jobs: os: - ubuntu-22.04 - ubuntu-24.04 + - ubuntu-22.04-arm + - ubuntu-24.04-arm - macos-15-intel - macos-14 # (aarch64) - macos-15 # (aarch64) diff --git a/bin/standalone-installer-unix b/bin/standalone-installer-unix index e5fa9749..ff56ac0d 100755 --- a/bin/standalone-installer-unix +++ b/bin/standalone-installer-unix @@ -109,7 +109,9 @@ target-triple() { case "$KERNEL" in Linux) - [[ "$machine" == x86_64 ]] || die "unsupported architecture: $machine" + [[ "$machine" == x86_64 ]] \ + || ([[ "$machine" == aarch64 ]] && version-gte 10.4.2) \ + || die "unsupported architecture: $machine" vendor=unknown os=linux-gnu ;;