From 311ba90785a7be2445f12e677beb7d32aead22e6 Mon Sep 17 00:00:00 2001 From: Luis Padron Date: Thu, 18 Apr 2024 15:50:21 -0400 Subject: [PATCH] Disable builtin CC toolchain for BCR tests (#868) Similar to https://github.com/bazelbuild/rules_apple/pull/2377, see: https://github.com/bazelbuild/bazel-central-registry/pull/1842 --- .bcr/presubmit.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index 0f604656..13feb413 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -1,9 +1,17 @@ matrix: bazel: ["6.x", "7.x"] tasks: - verify_build_targets: - name: Verify Build targets on macOS + verify_build_targets_bazel_6: + name: Verify Build targets on macOS with Bazel 6 platform: macos_arm64 - bazel: ${{ bazel }} + bazel: 6.x build_targets: - "@rules_ios//rules/..." + verify_build_targets_bazel_7: + name: Verify Build targets on macOS with Bazel 7 + platform: macos_arm64 + bazel: 7.x + build_targets: + - "@rules_ios//rules/..." + build_flags: + - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"