Skip to content

Commit

Permalink
Add back cpu_flag for darwin (#580)
Browse files Browse the repository at this point in the history
* Add back cpu_flag
  • Loading branch information
xinbinhuang authored Jan 10, 2023
1 parent 0c99d26 commit bcd9116
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ jobs:
artifact: ibazel_darwin_arm64
os: macos-latest
build_flags: --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64_cgo
cpu_flag:
# TODO: temporary workaround, remove this in the future.
# Right now, without the flag, GitHub actions build would link to the "darwin_amd64" go_sdk toolchain and fail the build.
# related issue: https://github.com/fsnotify/fsevents/issues/50
# also general info on Bazel platforms: https://bazel.build/concepts/platforms#migration
cpu_flag: --cpu=darwin_arm64
ext: ""

steps:
Expand Down

0 comments on commit bcd9116

Please sign in to comment.