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

Commit

Permalink
build: Build for macOS with ubuntu runner, support 64-bit ARM archite…
Browse files Browse the repository at this point in the history
…cture on Linux and Windows
  • Loading branch information
naotama2002 committed Sep 26, 2023
1 parent bfa8961 commit 2b5f100
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
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-13
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down
8 changes: 0 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ builds:
goos:
- linux
- windows
goarch:
- amd64
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}}\""
- id: assam-darwin
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- amd64
Expand Down

0 comments on commit 2b5f100

Please sign in to comment.