diff --git a/modules/rules_apple/3.6.0/MODULE.bazel b/modules/rules_apple/3.6.0/MODULE.bazel new file mode 100644 index 00000000000..dcf0596f00f --- /dev/null +++ b/modules/rules_apple/3.6.0/MODULE.bazel @@ -0,0 +1,36 @@ +module( + name = "rules_apple", + version = "3.6.0", + 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_swift", + version = "1.18.0", + max_compatibility_level = 2, + repo_name = "build_bazel_rules_swift", +) + +bazel_dep( + name = "stardoc", + version = "0.6.2", + dev_dependency = True, + repo_name = "io_bazel_stardoc", +) + +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") diff --git a/modules/rules_apple/3.6.0/patches/module_dot_bazel_version.patch b/modules/rules_apple/3.6.0/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..4aad99c143f --- /dev/null +++ b/modules/rules_apple/3.6.0/patches/module_dot_bazel_version.patch @@ -0,0 +1,12 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,7 +1,7 @@ + module( + name = "rules_apple", +- version = "0", ++ version = "3.6.0", + bazel_compatibility = [">=6.0.0"], + compatibility_level = 1, + repo_name = "build_bazel_rules_apple", + ) diff --git a/modules/rules_apple/3.6.0/presubmit.yml b/modules/rules_apple/3.6.0/presubmit.yml new file mode 100644 index 00000000000..d367baad8a4 --- /dev/null +++ b/modules/rules_apple/3.6.0/presubmit.yml @@ -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" diff --git a/modules/rules_apple/3.6.0/source.json b/modules/rules_apple/3.6.0/source.json new file mode 100644 index 00000000000..4dbadb630f7 --- /dev/null +++ b/modules/rules_apple/3.6.0/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-0PVmrUCKbk0XnwrE1QqTSUpw/P+Pq0xK8KJbLCQcm40=", + "strip_prefix": "", + "url": "https://github.com/bazelbuild/rules_apple/releases/download/3.6.0/rules_apple.3.6.0.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-gNsuoNQqrl592TdBXBiUCykBQrBnNTeQJMLYHz37QxA=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_apple/metadata.json b/modules/rules_apple/metadata.json index 80481254ae2..a7c643544d0 100644 --- a/modules/rules_apple/metadata.json +++ b/modules/rules_apple/metadata.json @@ -49,7 +49,8 @@ "3.3.0", "3.4.0", "3.5.0", - "3.5.1" + "3.5.1", + "3.6.0" ], "yanked_versions": {} }