Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
feat: support 64-bit ARM architecture on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
korosuke613 committed Nov 5, 2021
1 parent b8917c9 commit 4d59892
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
needs: [static-analysis, go-mod-tidy, test]
# Run the build on macOS, because only the macOS version is built with CGO enabled.
# See https://github.com/golang/go/issues/12524
runs-on: macos-latest
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup-go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
release:
# Run the build on macOS, because only the macOS version is built with CGO enabled.
# See https://github.com/golang/go/issues/12524
runs-on: macos-latest
runs-on: macos-11
steps:
- uses: actions/checkout@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ builds:
- darwin
goarch:
- amd64
- arm64
ldflags:
- "-s -w -X \"github.com/cybozu/assam/cmd.version={{.Version}}\" -X \"github.com/cybozu/assam/cmd.commit={{.ShortCommit}}\" -X \"github.com/cybozu/assam/cmd.date={{.Date}}\""
archives:
Expand Down

0 comments on commit 4d59892

Please sign in to comment.