From 150351e7689d6b2c27c237847c58a09b428555d0 Mon Sep 17 00:00:00 2001 From: Matt Stark Date: Fri, 10 Nov 2023 14:24:28 +1100 Subject: [PATCH] Add a new presubmit environment for building targets without a workspace file. Change-Id: Iddfa2f603ca13e1c0285cae8f2ecd7c5c5241b5a --- .bazelci/presubmit.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index d466c07927..edd97e364d 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -186,6 +186,17 @@ tasks: test_targets: *default_windows_targets soft_fail: yes bazel: "rolling" + ubuntu2004_bzlmod_only: + name: With bzlmod + platform: ubuntu2004 + # See https://bazel.build/external/migration#migration-process + # When WORKSPACE.bzlmod is provided, the workspace file is ignored. + shell_commands: + - "touch WORKSPACE.bzlmod" + build_flags: + - "--enable_bzlmod" + build_targets: + - "//tools/runfiles" ubuntu2004_clang: name: With Clang platform: ubuntu2004