From 6bfef6378d50050e3f9ccb6a29e51b3561b40424 Mon Sep 17 00:00:00 2001 From: wep21 Date: Sat, 7 Sep 2024 02:34:46 +0900 Subject: [PATCH 1/2] fix(bcr): add basic presubmit yaml Signed-off-by: wep21 --- .bcr/presubmit.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index 07a8cc18..b7169d07 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -1,12 +1,9 @@ -# We recommend included a bcr test workspace that exercises your ruleset with bzlmod. -# For an example, see https://github.com/aspect-build/bazel-lib/tree/main/e2e/bzlmod. -#bcr_test_module: -# module_path: "examples" -# matrix: -# platform: ["debian10", "macos", "ubuntu2004", "windows"] -# tasks: -# run_tests: -# name: "Run test module" -# platform: ${{ platform }} -# test_targets: -# - "//..." +matrix: + bazel: + - 6.x + - 7.x +tasks: + verify_targets_linux: + name: Verify build targets + bazel: ${{ bazel }} + platform: ubuntu2004 From 846f1295a3ca8038ad1ef1fd799bf35261dcb2fe Mon Sep 17 00:00:00 2001 From: cloudhan Date: Sat, 7 Sep 2024 14:26:58 +0800 Subject: [PATCH 2/2] style: format presubmit.yml --- .bcr/presubmit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index b7169d07..5227bbc0 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -1,7 +1,7 @@ matrix: bazel: - - 6.x - - 7.x + - 6.x + - 7.x tasks: verify_targets_linux: name: Verify build targets