Skip to content

Commit 4cd424a

Browse files
committed
fix(bazel): support macOS CI builds
Signed-off-by: Simon Scatton <[email protected]>
1 parent 9b90419 commit 4cd424a

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

‎.github/workflows/branch-checks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
strategy:
147147
fail-fast: false
148148
matrix:
149-
runner: [linux-amd64-cpu8, linux-arm64-cpu8, macos-latest-xlarge]
149+
runner: [ubuntu-24.04, ubuntu-24.04-arm, macos-15]
150150
runs-on: ${{ matrix.runner }}
151151
steps:
152152
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

‎MODULE.bazel‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ bazel_dep(name = "platforms", version = "1.1.0")
44
bazel_dep(name = "rules_proto", version = "7.1.0")
55
bazel_dep(name = "protobuf", version = "34.0.bcr.1")
66

7+
osx = use_extension("@llvm//extensions:osx.bzl", "osx")
8+
osx.frameworks(
9+
names = [
10+
"CoreFoundation",
11+
"CoreServices",
12+
"Foundation",
13+
"Kernel",
14+
"OSLog",
15+
"Security",
16+
"SystemConfiguration",
17+
],
18+
)
19+
720
workspace_version_repository = use_repo_rule("//bazel:cargo_version.bzl", "workspace_version_repository")
821

922
workspace_version_repository(

0 commit comments

Comments
 (0)