forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify WORKSPACE.bzlmod and add CI test for Bzlmod
- All workspace suffix are removed from WORKSPACE.bzlmod, since we get all dependencies and toolchains from Bzlmod. - Added build:bzlmod bazelrc section, we have to override two flags to make sure toolchains are picked up correctly. - Added zstd-jni as dependency - Added postsubmit_bzlmod.yml for testing the Bzlmod build. Tested at https://buildkite.com/bazel/bazel-bazel-with-bzlmod/builds/3 Closes bazelbuild#14312. PiperOrigin-RevId: 411855954
- Loading branch information
1 parent
ae0a6c9
commit 89ea68b
Showing
4 changed files
with
50 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
tasks: | ||
centos7_java11_devtoolset10: | ||
build_flags: | ||
- "--config=bzlmod" | ||
build_targets: | ||
- "//src:bazel_nojdk" | ||
ubuntu1804: | ||
build_flags: | ||
- "--config=bzlmod" | ||
build_targets: | ||
- "//src:bazel_nojdk" | ||
ubuntu1804_clang: | ||
platform: ubuntu1804 | ||
environment: | ||
CC: clang | ||
CC_CONFIGURE_DEBUG: 1 | ||
name: "Clang" | ||
build_flags: | ||
- "--config=bzlmod" | ||
build_targets: | ||
- "//src:bazel_nojdk" | ||
ubuntu2004: | ||
build_flags: | ||
- "--config=bzlmod" | ||
build_targets: | ||
- "//src:bazel_nojdk" | ||
macos: | ||
xcode_version: "13.0" | ||
build_flags: | ||
- "--config=bzlmod" | ||
build_targets: | ||
- "//src:bazel_nojdk" | ||
windows: | ||
build_flags: | ||
- "--config=bzlmod" | ||
build_targets: | ||
- "//src:bazel_nojdk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.