mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-05-06 07:59:45 +00:00
build: compile linux/arm64 in native runner
This commit is contained in:
parent
72f3f42baa
commit
124c06d8be
1 changed files with 1 additions and 8 deletions
9
.github/workflows/build_releases.yml
vendored
9
.github/workflows/build_releases.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue