Skip to content

Commit

Permalink
fix: 增加arm支持 sjkhsl#4
Browse files Browse the repository at this point in the history
  • Loading branch information
johlanse committed Dec 6, 2021
1 parent f35d991 commit 3086e1b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, windows]
goarch: [amd64]
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm, arm64]
exclude:
- goos: darwin
goarch: arm
Expand Down
22 changes: 11 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ builds:
- GO111MODULE=on
goos:
- linux
# - darwin
- darwin
goarch:
- 386
- amd64
# - arm
# - arm64
# goarm:
# - 7
# ignore:
# - goos: darwin
# goarch: arm
# - goos: darwin
# goarch: 386
- arm
- arm64
goarm:
- 7
ignore:
- goos: darwin
goarch: arm
- goos: darwin
goarch: 386
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
Expand All @@ -38,7 +38,7 @@ builds:
goarch:
- 386
- amd64
# - arm
- arm
goarm:
- 7
mod_timestamp: "{{ .CommitTimestamp }}"
Expand Down

0 comments on commit 3086e1b

Please sign in to comment.