Add ARM builds to goreleaser config

This commit is contained in:
Jan Dittberner 2022-09-10 10:39:57 +02:00
parent 77b1ba4162
commit 4cd384b69c

View file

@ -5,7 +5,7 @@ before:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- id: "cli"
- id: linux-amd64
main: ./cmd/cacertocsp
binary: cacert-goocsp
env:
@ -14,10 +14,38 @@ builds:
- linux
goarch:
- amd64
- id: linux-arm64
main: ./cmd/cacertocsp
binary: cacert-goocsp
goos:
- linux
goarch:
- arm64
goarm:
- "9"
env:
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
- PKG_CONFIG_PATH=/usr/aarch64-linux-gnu/pkgconfig
- id: linux-armhf
main: ./cmd/cacertocsp
binary: cacert-goocsp
goos:
- linux
goarch:
- arm
goarm:
- "7"
env:
- CC=arm-linux-gnueabihf-gcc
- CXX=arm-linux-gnueabihf-g++
- PKG_CONFIG_PATH=/usr/arm-linux-gnueabihf/pkgconfig
archives:
- replacements:
linux: Linux
amd64: x86_64
- id: cacert-gosigner
builds:
- linux-amd64
- linux-arm64
- linux-armhf
checksum:
name_template: 'checksums.txt'
snapshot: