Skip to content

Commit 8d7e682

Browse files
committed
Added ARM64 (ARMv8) build
1 parent 58d917b commit 8d7e682

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17-
- name: Install mingw
18-
run: sudo apt-get install gcc-mingw-w64
17+
- name: Install cross-compilers
18+
run: sudo apt-get install gcc-mingw-w64 gcc-aarch64-linux-gnu
19+
# gcc-arm-linux-gnueabi
1920

2021
- name: Run GoReleaser
2122
uses: goreleaser/goreleaser-action@v2

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ builds:
6161
- CGO_ENABLED=1
6262
- CC=aarch64-linux-gnu-gcc
6363
- CXX=aarch64-linux-gnu-gcc++
64+
# These are for ARMv5/ARMv6/ARMv7 - See https://github.com/golang/go/wiki/GoArm
6465
# - CC=arm-linux-gnueabi-gcc
6566
# - CXX=arm-linux-gnueabi-gcc++
6667
flags:

0 commit comments

Comments
 (0)