build: compile linux/arm64 in native runner

This commit is contained in:
Greg T. Wallace 2025-04-22 18:27:55 -04:00
parent 72f3f42baa
commit 124c06d8be

View file

@ -43,7 +43,7 @@ jobs:
###
build-linux-arm64:
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout Repo
uses: actions/checkout@v4
@ -52,12 +52,6 @@ jobs:
ref: ${{ env.GITHUB_REF }}
fetch-depth: 0
- name: Update apt
run: sudo apt update
- name: Install cross-compiler for linux/arm64
run: sudo apt-get -y install gcc-aarch64-linux-gnu
- name: Set up Go
uses: actions/setup-go@v5
with:
@ -68,7 +62,6 @@ jobs:
env:
GOOS: linux
GOARCH: arm64
CC: aarch64-linux-gnu-gcc
CGO_ENABLED: 0
- name: Save Compiled Binary