Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
publish-to-bcr-bot[bot] and brentleyjones authored Oct 29, 2024
1 parent 5698038 commit 987ecb0
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 1 deletion.
59 changes: 59 additions & 0 deletions modules/rules_apple/3.11.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
module(
name = "rules_apple",
version = "3.11.1",
bazel_compatibility = [">=6.0.0"],
compatibility_level = 1,
repo_name = "build_bazel_rules_apple",
)

bazel_dep(name = "apple_support", version = "1.15.1", repo_name = "build_bazel_apple_support")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "platforms", version = "0.0.9")
bazel_dep(name = "rules_cc", version = "0.0.2")
bazel_dep(
name = "rules_swift",
version = "2.1.1",
repo_name = "build_bazel_rules_swift",
)

bazel_dep(
name = "stardoc",
version = "0.6.2",
dev_dependency = True,
repo_name = "io_bazel_stardoc",
)
bazel_dep(
name = "protobuf",
version = "21.7",
dev_dependency = True,
repo_name = "com_google_protobuf",
)

non_module_deps = use_extension("//apple:extensions.bzl", "non_module_deps")
use_repo(
non_module_deps,
"xctestrunner",
)

provisioning_profile_repository = use_extension("//apple:apple.bzl", "provisioning_profile_repository_extension")
use_repo(provisioning_profile_repository, "local_provisioning_profiles")

apple_cc_configure = use_extension("@build_bazel_apple_support//crosstool:setup.bzl", "apple_cc_configure_extension")
use_repo(apple_cc_configure, "local_config_apple_cc")

# TODO: Remove override when a protobuf release is available that supports
# Bazel 8
archive_override(
module_name = "protobuf",
integrity = "sha256-+dloYVexGlGsxKLTARuU4KXZ5ORo/BWPR6obFk73d+Q=",
strip_prefix = "protobuf-b93b8e5f64ed922d101759380d7c6a2bbe474e26",
urls = ["https://github.com/protocolbuffers/protobuf/archive/b93b8e5f64ed922d101759380d7c6a2bbe474e26.zip"],
)

# TODO: Remove override when a protobuf release that marks `stardoc` as a
# dev_dependency is available, until then it's upgrading our stardoc version
# so override it here.
single_version_override(
module_name = "stardoc",
version = "0.6.2",
)
12 changes: 12 additions & 0 deletions modules/rules_apple/3.11.1/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_apple",
- version = "0",
+ version = "3.11.1",
bazel_compatibility = [">=6.0.0"],
compatibility_level = 1,
repo_name = "build_bazel_rules_apple",
)
12 changes: 12 additions & 0 deletions modules/rules_apple/3.11.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
matrix:
bazel: ["7.x", "rolling"]

tasks:
verify_targets:
name: Verify build targets
platform: macos_arm64
bazel: ${{ bazel }}
test_targets:
- '@rules_apple//examples/macos/CommandLine:ExamplesBuildTest'
test_flags:
- "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
9 changes: 9 additions & 0 deletions modules/rules_apple/3.11.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-CF3amMJmnssd+Me1mzKIdraZhJyWRapv4fhCmfFGByY=",
"strip_prefix": "",
"url": "https://github.com/bazelbuild/rules_apple/releases/download/3.11.1/rules_apple.3.11.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-MmwPYS7emcW03InojCrLjEJmrGlA6lyFIxUkDBbtMy4="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_apple/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"3.9.1",
"3.9.2",
"3.10.0",
"3.11.0"
"3.11.0",
"3.11.1"
],
"yanked_versions": {}
}

0 comments on commit 987ecb0

Please sign in to comment.