Skip to content

Commit

Permalink
Fix .bcr/presubmit.yml (#74)
Browse files Browse the repository at this point in the history
This is for BCR's presubmit.
  • Loading branch information
ted-xie authored Jul 19, 2024
1 parent dc11828 commit e1c342e
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand All @@ -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"

0 comments on commit e1c342e

Please sign in to comment.