From e1c342ea0a412efd7aed467fbb704917ee567362 Mon Sep 17 00:00:00 2001 From: Ted Date: Fri, 19 Jul 2024 14:50:03 -0400 Subject: [PATCH] Fix .bcr/presubmit.yml (#74) This is for BCR's presubmit. --- .bcr/presubmit.yml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index 01f93a4..aff4eb0 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -1,22 +1,8 @@ matrix: - platform: ["macos", "ubuntu2004"] - bazel: ["7.x", "rolling + platform: ["macos", "ubuntu2004", "windows"] + bazel: ["7.2.1", "7.3.x", "rolling"] tasks: - verify_targets: - name: "Verify build targets" - platform: ${{ platform }} - bazel: ${{ bazel }} - working_directory: examples/basic - environment: - ANDROID_NDK_HOME: /opt/android-ndk-r25b - build_flags: - - "--noincompatible_enable_cc_toolchain_resolution" - - "--fat_apk_cpu=arm64-v8a,x86" - - "--android_crosstool_top=@androidndk//:toolchain" - - "--enable_bzlmod=False" - build_targets: - - "//java/com/app:app" verify_targets_bzlmod: name: "Verify build targets with bzlmod" platform: ${{ platform }} @@ -25,9 +11,6 @@ tasks: environment: ANDROID_NDK_HOME: /opt/android-ndk-r25b build_flags: - - "--noincompatible_enable_cc_toolchain_resolution" - - "--fat_apk_cpu=arm64-v8a,x86" - - "--android_crosstool_top=@androidndk//:toolchain" - - "--enable_bzlmod=True" + - "--android_platforms=//:arm64-v8a" build_targets: - "//java/com/app:app"