Skip to content

Commit ea0f164

Browse files
davidbenBoringssl LUCI CQ
authored and
Boringssl LUCI CQ
committed
Sync presubmit.yml from BCR
See bazelbuild/bazel-central-registry#2785 Change-Id: I32921c00b2f7d956b7c5b73050657aea295908b8 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/71308 Reviewed-by: Adam Langley <[email protected]> Commit-Queue: Adam Langley <[email protected]> Auto-Submit: David Benjamin <[email protected]>
1 parent 58f3bc8 commit ea0f164

File tree

1 file changed

+23
-12
lines changed

1 file changed

+23
-12
lines changed

.bcr/presubmit.yml

+23-12
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ build_targets: &build_targets
22
- "@boringssl//:crypto"
33
- "@boringssl//:ssl"
44

5-
matrix:
6-
platform:
5+
matrix: &matrix
6+
non_macos_platform:
77
- centos7_java11_devtoolset10
88
- debian11
99
- ubuntu2204
1010
- windows
11-
bazel: [6.x, 7.x]
11+
bazel: [7.x]
1212
tasks:
1313
verify_targets:
1414
name: Verify build targets
15-
platform: ${{ platform }}
15+
platform: ${{ non_macos_platform }}
1616
bazel: ${{ bazel }}
1717
build_targets: *build_targets
1818
# Work around https://github.com/bazelbuild/bazel/issues/10472
@@ -21,13 +21,24 @@ tasks:
2121
platform: macos
2222
bazel: ${{ bazel }}
2323
build_targets: *build_targets
24-
build_flags:
24+
build_flags: &macos_workaround
2525
- '--cxxopt=-std=c++14'
2626
- '--sandbox_block_path=/usr/local'
27-
run_test_module:
28-
name: Run test module
29-
platform: ${{ platform }}
30-
bazel: ${{ bazel }}
31-
module_path: util/bazel-example
32-
build_targets:
33-
- //...
27+
bcr_test_module:
28+
module_path: util/bazel-example
29+
matrix: *matrix
30+
tasks:
31+
run_test_module:
32+
name: Run test module
33+
platform: ${{ non_macos_platform }}
34+
bazel: ${{ bazel }}
35+
build_targets:
36+
- //...
37+
# Work around https://github.com/bazelbuild/bazel/issues/10472
38+
run_test_module_on_macos:
39+
name: Run test module on macOS
40+
platform: macos
41+
bazel: ${{ bazel }}
42+
build_targets:
43+
- //...
44+
build_flags: *macos_workaround

0 commit comments

Comments
 (0)