Skip to content

Commit

Permalink
Explicitly set --macos_minimum_os=10.15 to make swift_{binary,test}
Browse files Browse the repository at this point in the history
… runnable on macOS Catalina (which is the macOS version used by Bazel CI) when building with Xcode 12 or above (bazelbuild#566)

Since there's no way to set the deployment version for
`*_{binary,test}`, this makes rules_swift on CI green again without
having to go back to using Xcode 11.7.
  • Loading branch information
thii authored and jerrymarino committed Feb 23, 2021
1 parent dadd121 commit db58fea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Since there's no way to set the deployment version for swift_{binary,test},
# this forces all targets' minimum macOS to Catalina until Bazel CI has
# upgraded their Mac machines to Big Sur.
build --macos_minimum_os=10.15

0 comments on commit db58fea

Please sign in to comment.