Add windows 32bits

This commit is contained in:
Σrebe - Romain GERARD 2023-11-26 08:05:47 +01:00
parent d08786f64f
commit b38c71b462
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4
2 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,7 @@ builds:
- darwin - darwin
- windows - windows
goarch: goarch:
- "386"
- amd64 - amd64
- arm64 - arm64
- arm - arm
@ -19,6 +20,10 @@ builds:
goarch: arm64 goarch: arm64
- goos: darwin - goos: darwin
goarch: arm goarch: arm
- goos: linux
goarch: "386"
- goos: darwin
goarch: "386"
main: goreleaser.go main: goreleaser.go
hooks: hooks:
#pre: #pre:

View file

@ -10,6 +10,7 @@ case $go_arch in
amd64) rust_arch='x86_64' ;; amd64) rust_arch='x86_64' ;;
arm64) rust_arch='aarch64' ;; arm64) rust_arch='aarch64' ;;
arm) rust_arch='armv7' ;; arm) rust_arch='armv7' ;;
386) rust_arch='i686' ;;
*) echo "unknown arch: $go_arch" && exit 1 ;; *) echo "unknown arch: $go_arch" && exit 1 ;;
esac esac
case $go_os in case $go_os in