From 3c81eae8afb431ce1fb7b7cb440eb36c8b01676c Mon Sep 17 00:00:00 2001 From: Henrique Goncalves Date: Wed, 7 Aug 2024 15:42:37 -0300 Subject: [PATCH] Add Linux arm64 build (#752) Closes #745 --------- Co-authored-by: Evan Simkowitz --- .github/workflows/build-helper.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-helper.yml b/.github/workflows/build-helper.yml index 931b8e0a..2d001229 100644 --- a/.github/workflows/build-helper.yml +++ b/.github/workflows/build-helper.yml @@ -16,6 +16,10 @@ jobs: arch: "amd64" runner: "ubuntu-latest" scripthaus: "build-package-linux" + - platform: "linux" + arch: "arm64" + runner: ubuntu-24.04-arm64-16core + scripthaus: "build-package-linux" runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v4 @@ -28,6 +32,8 @@ jobs: run: | sudo apt-get update sudo apt-get install --no-install-recommends -y libarchive-tools libopenjp2-tools rpm + - name: Install FPM # The version of FPM that comes bundled with electron-builder doesn't include a Linux ARM target. Installing Gems onto the runner is super quick so we'll just do this for all targets. + run: sudo gem install fpm - uses: actions/setup-go@v5 with: go-version: ${{env.GO_VERSION}}