From 4099eb30a51fc17d5e4ba7b8f084ec425fd4cfca Mon Sep 17 00:00:00 2001 From: oopsbagel Date: Mon, 7 Apr 2025 15:54:44 -0700 Subject: [PATCH] ci: build on ubuntu-24.04-arm (aarch64) --- .github/workflows/build-release.yml | 2 ++ dist/install.sh | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index d525b99..c956244 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -14,6 +14,8 @@ jobs: platform: - name: ubuntu-24 os: ubuntu-latest + - name: ubuntu-24-aarch64 + os: ubuntu-24.04-arm - name: macos-arm os: macos-latest - name: macos-intel diff --git a/dist/install.sh b/dist/install.sh index 7a04482..a0c1284 100755 --- a/dist/install.sh +++ b/dist/install.sh @@ -100,7 +100,11 @@ test_rayhunter() { ##### Main ##### ##### ##### ##### if [[ `uname -s` == "Linux" ]]; then - export SERIAL_PATH="./serial-ubuntu-24/serial" + if [[ `uname -m` == "arm64" ]]; then + export SERIAL_PATH="./serial-ubuntu-24-aarch64/serial" + elif [[ `uname -m` == "x86_64" ]]; then + export SERIAL_PATH="./serial-ubuntu-24/serial" + fi export PLATFORM_TOOLS="platform-tools-latest-linux.zip" elif [[ `uname -s` == "Darwin" ]]; then if [[ `uname -m` == "arm64" ]]; then