mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-05-18 04:07:07 +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:
|
build-linux-arm64:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -52,12 +52,6 @@ jobs:
|
||||||
ref: ${{ env.GITHUB_REF }}
|
ref: ${{ env.GITHUB_REF }}
|
||||||
fetch-depth: 0
|
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
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
|
@ -68,7 +62,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: arm64
|
GOARCH: arm64
|
||||||
CC: aarch64-linux-gnu-gcc
|
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
|
||||||
- name: Save Compiled Binary
|
- name: Save Compiled Binary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue