Skip to content

Commit

Permalink
ACI-3193 Build with RBE
Browse files Browse the repository at this point in the history
  • Loading branch information
ramil-bitrise committed Dec 18, 2024
1 parent dcb0724 commit c5a4f67
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,10 @@ test:ci-windows --test_env=JAVA_HOME
test:ci-windows --test_env=TEST_INSTALL_BASE=C:/b/bazeltest_install_base
test:ci-windows --test_env=REPOSITORY_CACHE=C:/b/bazeltest_repo_cache
test:ci-windows --test_tag_filters=-no_windows,-slow

build:remote_bitrise --jobs=100
build:remote_bitrise --remote_download_minimal
build:remote_bitrise --noremote_upload_local_results
build:remote_bitrise --extra_execution_platforms=//:darwin_arm64
build:remote_bitrise --xcode_version=16.2.0
build:remote_bitrise --repo_env=XCODE_VERSION=16.2.0
12 changes: 12 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,18 @@ platform(
],
)

platform(
name = "darwin_arm64",
constraint_values = [
"@platforms//os:macos",
"@platforms//cpu:arm64",
],
exec_properties = {
"OSFamily": "Darwin",
"Arch": "arm64",
},
)

REMOTE_PLATFORMS = ("rbe_ubuntu2004",)

[
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module(
# Bazel module dependencies
# =========================================

bazel_dep(name = "apple_support", version = "1.17.1")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "grpc", version = "1.66.0.bcr.2", repo_name = "com_github_grpc_grpc")
Expand Down Expand Up @@ -90,7 +91,6 @@ local_path_override(

# The following Bazel modules are not direct dependencies for building Bazel,
# but are required for visibility from DIST_ARCHIVE_REPOS in repositories.bzl
bazel_dep(name = "apple_support", version = "1.15.1")
bazel_dep(name = "c-ares", version = "1.15.0")
bazel_dep(name = "rules_go", version = "0.48.0")
bazel_dep(name = "rules_kotlin", version = "1.9.6")
Expand Down
8 changes: 5 additions & 3 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5a4f67

Please sign in to comment.