Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4687 commits
Select commit Hold shift + click to select a range
afb499e
Update documentation for CompilationContext to be more clear.
Nov 24, 2021
28409cf
Setup mock tools for `genrule` in integration tests.
Nov 24, 2021
3069ac4
Delete marker file before fetching an external repository
Nov 24, 2021
0a93c1f
Enrich the Skyframe exception handling API with methods that promote …
Nov 24, 2021
748b996
Fix java_common.target_kind when aspects are involved
Nov 25, 2021
d84f799
Fix remote spawn tests for remote_merkle_tree_cache=true
Nov 25, 2021
b33c535
Enable Starlark proto_library by default
Nov 25, 2021
5857d17
Fix SingleStringArgFormatter to remove escapes (%%).
Nov 25, 2021
ed819b2
Fixed a bug which allowed files in malloc attribute.
Nov 25, 2021
d69a55c
Remove proto_lang_toolchain rule's $(PLUGIN_OUT) placeholder and simp…
Nov 25, 2021
45ce3dd
Add plugin_format_flag attribute to ProtoLangToolchainRule
Nov 25, 2021
305b5db
Fixed a bug where headers were passed to linking action,because of full
Nov 26, 2021
20c6605
Override `toString` to show `dynamic` instead of `com.google.devtools…
Nov 26, 2021
4f3bf33
Fixed several bugs in cc_binary implementation.
Nov 26, 2021
3771072
Enable command-line aspects parameters
Nov 26, 2021
11877e3
Test registerActions instead of createCommandLineFromToolchains.
Nov 29, 2021
0c32009
Remove unused parameters of createCommandLineFromToolchains.
Nov 29, 2021
cd4bc7c
Add plugin_format_flag to the Bazel's tests.
Nov 29, 2021
76b3c24
Build xcode-locator as a universal binary
Nov 29, 2021
ab45b1a
Add internal APIs to declare and link shareable artifacts
Nov 29, 2021
8f00ca1
Add missing runtime deps and jvm flags to java_binary when using a te…
Nov 29, 2021
3791b04
Keep JavaCompilationArgsProvider in JavaInfo for Starlark java_binary
Nov 29, 2021
87458e7
Starlark cc_test.
Nov 29, 2021
4b3083f
Apply best-effort cleanup strategy for test root on Windows.
Nov 29, 2021
3678d6a
Delete non-interning, non-singleton @AutoCodec.
Nov 29, 2021
c8d83ae
Improve error handling in case of failure to read cached TestResultData
Nov 29, 2021
0138243
Fixed various cc_binary bugs.
Nov 29, 2021
4e24829
Merge the request for the associated target's package into the initia…
Nov 29, 2021
af15543
Move fragment cache infra from BuildConfigurationFunction to new Frag…
Nov 29, 2021
9fddd56
Add a test for an aspect applied to a `cc_libc_top_alias` target.
Nov 29, 2021
4256d46
Automated rollback of commit d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
Nov 29, 2021
5fd5afa
Fix typo in example on testing.md.
Nov 29, 2021
59e16e9
Show skipped tests as a warning
Nov 29, 2021
84464b6
Add plugin_format_flag to j2objc_proto_toolchain in bazel_tools.
Nov 30, 2021
2c158fb
Allow multiple calls to initStarlarkRuleContext.
Nov 30, 2021
47ad531
Add advice about use of StarlarkSemantics.DEFAULT
Nov 30, 2021
56d624b
Separate ExecException.java from main actions target.
Nov 30, 2021
8bdf0f8
Add Javadoc for NamedForkJoinPool constructor.
Nov 30, 2021
e3dac0c
Fixed an incorrect linking order.
Nov 30, 2021
d154dc3
Automated rollback of commit 748b9964211ff18b244649922030b36e02ea0d13.
Nov 30, 2021
cbf3ff9
Automatic code cleanup.
Nov 30, 2021
88711cb
Add feature flagged changes to allow for the Apple transitions to pro…
Nov 30, 2021
4449c11
Fixed broken link.
Nov 30, 2021
28ea8c1
Fix issues with Style Guide
Nov 30, 2021
2292db9
Remove handling of custom change pruning logic from `InMemoryNodeEntr…
Dec 1, 2021
0b02ea4
Moved check_srcs_extension to cc_helper.
Dec 1, 2021
3f1672e
Use .dylib extension for macOS dynamic libraries in Unix toolchain
Dec 1, 2021
aa52f2d
Exit collect_coverage.sh early if LCOV_MERGER is not set.
Dec 1, 2021
9ee1362
Ignore exceptions from removing shutdown hooks during shutdown.
Dec 1, 2021
37d08ed
Add parameter for classpath_resources to java_common.compile()
Dec 1, 2021
3b7b9da
Fix unnecessary quotes around string variables
Dec 1, 2021
0b80c47
Copy over action_names.bzl from @bazel_tools into builtins.
Dec 1, 2021
dde1b4a
Use `System.lineSeparator()` instead of `%n` formatting.
Dec 1, 2021
01a46f0
Remove incompatible_enable_exports_provider flag and JavaExportsProvi…
Dec 1, 2021
93be82d
Remove filegroups and outputs workaround in java_library.
Dec 1, 2021
4cb3da5
Add malloc to the list of compilation context dependencies.
Dec 1, 2021
1ad65d5
Add PythonRuntimeAliasTest.
Dec 1, 2021
33b2483
Automatic code cleanup.
Dec 1, 2021
0129a24
Delete non-interning, non-singleton @AutoCodec.
Dec 1, 2021
00a3354
Bug fixes and Platform Toolchain support:
Dec 1, 2021
547fe52
Clarify message for legacy sandbox->local fallback usage.
Dec 1, 2021
73b22b6
cquery: support queries over incompatible targets.
Dec 1, 2021
f76f69c
Filter nulls when adding fragments referenced by a Starlark rule defi…
Dec 1, 2021
d11ecc5
Mark `BzlLoadFunction` as never shareable. Attribute descriptors (and…
Dec 1, 2021
40c69ed
Grab java artifacts from application_resources attribute is it does j…
Dec 2, 2021
a9573be
Add comments about "native deps".
Dec 2, 2021
168b89b
Automatic code cleanup.
Dec 2, 2021
d826b8d
Release 4.2.2 (2021-12-02)
Dec 2, 2021
3788780
Remove unnecessary calls to `MockGenruleSupport::setup` from tests.
Dec 2, 2021
c85983c
Update Guava so that we can use the new APIs like `ImmutableMap.Build…
Dec 1, 2021
ef4d669
Minor cleanups in `SkyFunctionEnvironment`:
Dec 2, 2021
0f19ef3
Add `deps` attribute to `objc_import` rule
Dec 2, 2021
6c88edf
Refactor `SkyFunctionEnvironment` constructors into factory methods a…
Dec 2, 2021
fbd4427
Check output files even if `--experimental_check_output_files` is dis…
Dec 3, 2021
6e1b440
Use .dylib extension for macOS dynamic libraries in XCode toolchain
Dec 3, 2021
6858cff
Fix usage of cc_common.is_enabled in builtin's cc_helper.bzl
Dec 3, 2021
ca3d814
Update documentation for Bazel 4.2.2
Dec 3, 2021
32fc7ca
Change host transitions to execution transitions in Cpp rules.
Dec 3, 2021
82325e6
Add BuildFileContentsGeneratorTest.
Dec 3, 2021
80a25c7
Simplify `ModifiedFileSet::hashCode`.
Dec 3, 2021
951a7ce
Update Guava reference in to version 31.
Dec 3, 2021
ae4fed6
Update documentation about JavaInfo .plugins and .annotation_processi…
Dec 3, 2021
185fb0b
Remove Guava 30.1.1 from `third_party`.
Dec 3, 2021
478b1bb
Remove unnecessary commented-out code from `OutputsInvalidationIntegr…
Dec 3, 2021
6741bb3
Get rid of dead code that guards against no top-level node being pres…
Dec 4, 2021
402e80e
Replace `EvaluationVersionBehavior` with a method `NodeEntry#getMaxTr…
Dec 5, 2021
bcb45ef
Avoid NPE in debugPrint() when owner is null
Dec 6, 2021
5738a1c
Remove JavaScript getting started docs
Dec 6, 2021
edb150c
Use @TestParameterInjector in LoadingPhaseRunnerTest.
Dec 6, 2021
bf41661
Automated rollback of commit 1ad65d52f5d8422725dd3508f704edac705943a9.
Dec 6, 2021
56fdd89
Automated rollback of commit eecf846ee390f08c1b1146a5a40b19dd05201a96.
Dec 6, 2021
38a22d1
Add mirror link for bazelci_rules
Dec 6, 2021
aa81f5a
Make `py_proto_library` use regular runfiles instead of custom runfil…
Dec 6, 2021
d789eda
Make `MemoizingEvaluatorTest.java` compliant with the formatter.
Dec 6, 2021
1987af2
Automatic code cleanup.
Dec 6, 2021
927b625
Provide a `default` implementation of `SkyFunction#extractTag`.
Dec 6, 2021
97fd16c
Delete non-interning, non-singleton @AutoCodec.
Dec 6, 2021
6415287
Automatic code cleanup.
Dec 6, 2021
f697b5b
Replace anonymous classes with lambdas when possible.
Dec 6, 2021
81264d2
Tighten some class privacy.
Dec 7, 2021
f4db9ce
Automatic code cleanup.
Dec 7, 2021
795eab3
Fix crash with `--experimental_skyframe_prepare_analysis` by acceptin…
Dec 7, 2021
dce2435
[apple] fix issues compiling C in objc_library for watchos/armv7k
Dec 7, 2021
139081f
Release 6.0.0-pre.20211117.1 (2021-12-07)
Dec 7, 2021
0d7d44d
Remote: Add support for tag no-remote-cache-upload.
Dec 7, 2021
2ec457d
Remote: Ignore blobs referenced in BEP if the generating action canno…
Dec 7, 2021
882321b
Add an uncaught exception handler for Bazel integration tests.
Dec 7, 2021
ed279ab
Introduce a way for `mySkyFunction.compute(k, env)` to avoid having t…
Dec 7, 2021
8e4f6ee
Update System Suspension Event Test to cover a bit more code.
Dec 7, 2021
a87c095
Add notifier test util to bazel.
Dec 7, 2021
a2e57ca
Add in missing BUILD File and fix srcs glob. This was an oversight fr…
Dec 7, 2021
d0fde13
Allow \a \b \f \v escape sequences in Starlark.
Dec 7, 2021
10d3084
Do not leave uncaught exception handler past tests derived from `Buil…
Dec 7, 2021
9218010
Enforce that JavaCompileAction.outputDepsProto is non-null if classPa…
Dec 8, 2021
f40d086
Fix theoretical performance issue in `PackageLookupFunction#findPacka…
Dec 8, 2021
fc4d9d6
Add clarification note in bazel dependency file
Dec 8, 2021
6522472
Wire up include scanning.
Dec 8, 2021
f14a3a5
Fixed a bug where incorrect type of variable was given to transitive …
Dec 8, 2021
122a859
Allow create_linking_context_from_compilation_outputs to create an em…
Dec 8, 2021
bf30d81
Actually remove the flag --incompatible_disable_depset_items
Dec 8, 2021
41a0431
Refactor plethora of StarlarkProvider factory methods to a builder
Dec 8, 2021
6336bf2
Expose C++ configuration for Starlark cc_library
Dec 8, 2021
3ffec39
Update tracking bug ids.
Dec 8, 2021
ba5d4de
Clean up `prefetchDeps` a bit.
Dec 8, 2021
b8bc284
Properly handle missing packages and I/O exceptions when parsing targ…
Dec 8, 2021
133f18a
Add unit tests for memory pressure events.
Dec 8, 2021
44c30ac
Add value equals and hashCode to BuildConfigurationValue
Dec 8, 2021
d7f0724
ResourceSet in StarlarkAction API
Dec 9, 2021
103ea9d
Remove the concept of a "default" repo name and consolidate label par…
Dec 9, 2021
278a637
Fix up bad name in test.
Dec 9, 2021
005361c
Disable IncludeValidation for ObjC in bazel
Dec 9, 2021
ee38b63
Add Starlark mechanism for default_copts and defaults_hdrs_check
Dec 9, 2021
718651a
Add a new flag: --experimental_platform_cc_test
Dec 9, 2021
f4bf6f6
Clear GlobFunction's Pattern cache at the end of each command. GlobFu…
Dec 9, 2021
b58aaeb
Expose "extra_libraries" on ExtraLinkTimeLibraries objects to Starlar…
Dec 9, 2021
af60a18
Expose "is_tool_configuration" on build configuration to Starlark bui…
Dec 9, 2021
5c5f785
Automated rollback of commit 122a859a81ceb0feb726b649e5e2572abf6e2cb3.
Dec 9, 2021
ccc9b9d
Automatic code cleanup.
Dec 9, 2021
8c3e486
Add documentation for using code coverage
Dec 9, 2021
54e04d3
Disable crashing on uncaught exceptions in `BazelBuildEventServiceMod…
Dec 9, 2021
fc98b2d
Allow returning None for null maps in LibraryToLink shared_non_lto_ba…
Dec 10, 2021
c5da3c9
Use addTool to add tool artifacts instead of addInput in StarlarkActi…
Dec 10, 2021
043d729
Adds flag `--experimental_dynamic_execution_cpu_limited` that prevent…
Dec 10, 2021
4e7a2b0
Minor fixes for starlark cc_binary.
Dec 10, 2021
69be399
Use RepositoryName instead of String for the "toolsRepository" concept
Dec 10, 2021
163e4d5
Allow failures in one branch of dynamic execution to be ignored in fa…
Dec 10, 2021
20fb6e3
Clarify that ActionAnalysisMetadata#getMandatoryOutputs() should only…
Dec 10, 2021
dd1235f
Manage discarding of deps and rdeps from `InMemoryNodeEntry` based on…
Dec 10, 2021
348ecad
Add thermal anomaly tests.
Dec 10, 2021
c68908f
Replace the per-`SkyKey` caches used by `PackageFunction` with the ne…
Dec 10, 2021
46104c6
BEP artifact upload opens all files upfront causing os to throw 'too …
Dec 10, 2021
921d4de
Add support for disk space events (specifically low disk space tracki…
Dec 10, 2021
09f0b24
Automatic code cleanup.
Dec 11, 2021
48e8868
Change host transitions to execution transitions in Sh rules.
Dec 12, 2021
3875b4b
Update bzlmod instructions for --registry=my-fork
Dec 13, 2021
3384b1c
Fix --show_progress_rate_limit default value
Dec 13, 2021
e5ae94f
Add EvaluationResult to debug messages for unexpected exception types…
Dec 13, 2021
c873525
Extract out constant for "current time" magic value in Path#setLastMo…
Dec 13, 2021
3d69205
Have replaced all @AutoCodec with @SerializationConstant for the fiel…
Dec 14, 2021
b67a3d1
Throw a SerializationException instead of a NullPointerException in B…
Dec 14, 2021
e077a4a
Remove unused aws-sdk-auth-lite and apache_commons_logging
Dec 14, 2021
790d7a7
Change host transitions to execution transitions in Objc rules.
Dec 14, 2021
d4d82bd
Remove unused //third_party:aws-sdk-auth-lite
Dec 13, 2021
35a6fc5
Remove `values` constraint from command-line aspects parameters
Dec 14, 2021
6ac0ee5
Make sure that absolute packages don't go through repo mapping
Dec 14, 2021
ad663a7
Remote: Don't blocking-get when acquiring gRPC connections.
Dec 14, 2021
8dcf27e
Get rid of J2ObjcCcInfo
Dec 14, 2021
58887b7
make the function name more explicitly in git.bzl
Dec 14, 2021
583db2d
Remove unnecessary synchronization in `BazelBuildEventServiceModuleTe…
Dec 14, 2021
8470e43
Always create a `CrossServerUnshareableActionExecutionValue` if the `…
Dec 14, 2021
7b37eb6
Mark `ArtifactNestedSetKey` as never shareable.
Dec 14, 2021
7074bcf
Automated rollback of commit ed825a49ef18a87e75fcbc381bb9b656e83b04fb.
Dec 14, 2021
aaf65b9
Remote: Support client TLS authentication for remote caches over HTTP
Dec 14, 2021
2ff4124
Change how we match local xcode versions with remote xcode versions.
Dec 14, 2021
4c6e324
Prohibit constructing `ErrorInfo` that is directly transient but not …
Dec 15, 2021
e9ce36a
Handle mandatory aspect attributes
Dec 15, 2021
6150afc
Make sure include scanning spawns inherit exec info from the parent a…
Dec 15, 2021
01dae4f
Allow errors to be printed in a no-keep-going build after an action i…
Dec 15, 2021
113789d
Fix ActionAnalysisMetadata.getExecutionInfo to return ImmutableMap.
Dec 15, 2021
519cb4c
Automatic code cleanup.
Dec 15, 2021
757ff00
Automatic code cleanup.
Dec 16, 2021
285b17f
Clean up callers of ActionAnalysisMetadata.getExecutionInfo since it …
Dec 16, 2021
4d58232
Remove sidebar reference to generate-workspace.html(md) The file was …
Dec 16, 2021
1a42174
Fix Starlark implementation of cc_binary to match native one.
Dec 16, 2021
7f55cb7
Let `SkyKey` alone declare its value's shareability.
Dec 17, 2021
18c591a
Use default shell environment in proto_library.
Dec 20, 2021
78d0131
Get rid of the '@' in RepositoryName
Dec 20, 2021
69f8b17
Allow Label instances as keys in select
Dec 20, 2021
14292d1
Enable having aspect parameters of type integer
Dec 20, 2021
3e7e3ce
Minor refactoring to centralize logic for shouldCheckForConflicts.
Dec 20, 2021
944f751
Release 6.0.0-pre.20211202.4 (2021-12-20)
Dec 20, 2021
e3a37b5
Update issue template to use HTML comments.
Dec 20, 2021
badc2c5
Add method to SkyframeExecutor to get node value intra-evaluation, on…
Dec 20, 2021
98dab46
str.join: Append `str`ed element to error message
Dec 20, 2021
837c6e7
Add a method `ActionLookupKey#mayOwnShareableActions` that correspond…
Dec 20, 2021
8e3c0df
Disable flaky test `test_remote_grpc_via_unix_socket_proxy`.
Dec 20, 2021
ce5c975
Call Starlark create_proto_compile_action from ProtoCompileActionBuil…
Dec 20, 2021
f4e738e
Remove ruleLabel from ProtoCompileActionBuilder.registerActions method.
Dec 20, 2021
1ed19a2
Pass progressMessage to ProtoCompileActionBuilder.
Dec 20, 2021
3cbfb39
Use plugin format flag from lang_proto_toolchain rule.
Dec 20, 2021
91ff7ec
Delete the option for using action keys and the resulting dead code
Dec 20, 2021
2ba95a0
[docs] Fix broken remote execution services link
Dec 21, 2021
16753d6
Delete top-down action caching prototype
Dec 21, 2021
4e7c1a9
Remove ccHostToolchainAttribute from CppRuleClases.
Dec 21, 2021
3db9b33
Remove LabelLateBoundDefault.fromHostConfiguration.
Dec 21, 2021
1661a9c
Remove LabelLateBoundDefault.useHostConfiguration and associated host…
Dec 21, 2021
adb56cc
Implementations of ActionAnalysisMetadata.getExecutionInfo should mer…
Dec 21, 2021
10a7a6e
Disable flaky test `test_remote_grpc_via_unix_socket_direct`.
Dec 21, 2021
58ea4dd
Remote: Don't upload BES referenced blobs to disk cache.
Dec 21, 2021
da29398
Fix a bug where during dwp file creation the extension was stripped.
Dec 21, 2021
13112c0
Bzlmod: When evaluating extensions in the main repo, do not load WORK…
Dec 21, 2021
3ea7028
Remote: Make `--incompatible_remote_build_event_upload_respect_no_cac…
Dec 21, 2021
3195e04
Update incompatible_display_source_file_location flag description
Dec 21, 2021
fafe16d
Release 6.0.0-pre.20211215.3 (2021-12-21)
Dec 21, 2021
7d09b4a
Automated rollback of commit 13112c027c0064cf0a29256e80560cb6630af94d.
Dec 21, 2021
47f4919
Fix typo in comment.
Dec 21, 2021
1c95255
Tighten some node types to reduce use of wildcards, casting, and hand…
Dec 21, 2021
72d5255
Stop remote blob upload if upload is complete.
Dec 22, 2021
30fd508
Enable having aspect parameters of type `boolean`
Dec 22, 2021
80ada0f
Internal change
Dec 22, 2021
302971e
Automated rollback of commit 7d09b4a15985052670244c277e4357557b4d0039.
Dec 22, 2021
7c0dc84
Remove unnecessary `ParallelEvaluator` ctor override.
Dec 22, 2021
a761e53
Remove the boolean `keepEdges` field from `InMemoryGraphImpl`.
Dec 22, 2021
5ea498c
Hard-code a flag in JavaBuilder
Dec 22, 2021
102c2c1
Remove unnecessary `SkyQueryEnvironment#configureEvaluationContext` a…
Dec 22, 2021
a83e2d5
Fully qualify class names in `Bazel#BAZEL_MODULES` and suppress the w…
Dec 22, 2021
d991119
Introduce a consistent entry-point for constructing a `EvaluationCont…
Dec 22, 2021
8e0ff85
Merge ActionSketch and VersionedActionSketch
Dec 22, 2021
7d3e533
Refactor `RetainedHeapLimiter` into (i) a general purpose mechanism f…
Dec 22, 2021
f12d1e0
Unbreak the build.
Dec 22, 2021
6ce195f
Remove extra TARGET_PATTERN from PACKAGE_LOCATOR_DEPENDENT_VALUES imm…
Dec 22, 2021
adc9bcf
Remote: Make --incompatible_remote_build_event_upload_respect_no_cach…
Dec 23, 2021
8578b21
Change ProtoCompileActionBuilder maybeBuild to maybeRegister and incl…
Dec 23, 2021
5d32fa8
Call Starlark proto_compile_action from ProtoCompileActionBuilder.may…
Dec 23, 2021
b9544d0
Use literal as a progress message in proto_common call.
Dec 23, 2021
7b92386
Use literals for format flags in proto_common call.
Dec 23, 2021
46ed5d5
Partial rollback of https://github.com/bazelbuild/bazel/commit/9f5250…
Dec 23, 2021
743d929
Automatic code cleanup.
Dec 27, 2021
343ba43
When Blaze detects it's under memory pressure in the middle of a Skyf…
Dec 28, 2021
461a6fe
Automatic code cleanup.
Dec 28, 2021
e0baf59
Simplify logical `SkyKeyComputeState` API.
Dec 28, 2021
f146202
Change message in ArtifactPrefixConflictException to be order-indepen…
Dec 29, 2021
fe72dbb
Merge FilesystemValueCheckerParameterizedTest and FilesystemValueChec…
Dec 29, 2021
9ad8918
Delete `BuildDriver` in favor of managing versions from `MemoizingEva…
Dec 29, 2021
a731acd
Clean up some unused and under-used TestUtils
Dec 29, 2021
1160485
Rename --project_id to --bes_instance_name
Dec 30, 2021
2d93032
Clean up `hashCode`/`equals` in `IntVersion`.
Dec 30, 2021
732e9ef
Python launcher: don’t assume that argv[0] is the program name.
Jan 3, 2022
2edab73
Avoid too verbose warnings in terminal when cache issues
Jan 3, 2022
ba41aa6
x
Jan 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
23 changes: 20 additions & 3 deletions .bazelci/build_bazel_binaries.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,45 @@
---
platforms:
centos7:
centos7_java11_devtoolset10:
build_targets:
- "//src:bazel"
- "//src:bazel_nojdk"
build_flags:
- "-c"
- "opt"
ubuntu1604:
ubuntu1804:
build_targets:
- "//src:bazel"
- "//src:bazel_nojdk"
build_flags:
- "-c"
- "opt"
ubuntu1804:
ubuntu2004:
build_targets:
- "//src:bazel"
- "//src:bazel_nojdk"
build_flags:
- "-c"
- "opt"
macos:
xcode_version: "13.0"
build_targets:
- "//src:bazel"
- "//src:bazel_nojdk"
build_flags:
- "-c"
- "opt"
macos_arm64:
xcode_version: "13.0"
build_targets:
- "//src:bazel"
- "//src:bazel_nojdk"
build_flags:
- "-c"
- "opt"
# TODO(pcloudy): Remove the following flag when we actually use Apple
# Silicon machines for macos_arm64 platform
- "--cpu=darwin_arm64"
windows:
build_flags:
- "--copt=-w"
Expand All @@ -32,3 +48,4 @@ platforms:
- "opt"
build_targets:
- "//src:bazel.exe"
- "//src:bazel_nojdk.exe"
158 changes: 125 additions & 33 deletions .bazelci/postsubmit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
tasks:
centos7:
centos7_java11_devtoolset10:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
Expand All @@ -11,6 +11,9 @@ tasks:
- "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
- "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
build_targets:
- "//:bazel-distfile.zip"
- "//scripts/packages/debian:bazel-debian.deb"
- "//scripts/packages:with-jdk/install.sh"
- "//src:bazel"
- "//src:bazel_jdk_minimal"
- "//src:test_repos"
Expand All @@ -35,12 +38,13 @@ tasks:
- "-//src/java_tools/import_deps_checker/..."
# These tests are not compatible with the gcov version of CentOS 7.
- "-//src/test/shell/bazel:bazel_cc_code_coverage_test"
- "-//src/test/shell/bazel:bazel_coverage_cc_test_gcc"
- "-//src/test/shell/bazel:bazel_coverage_cc_released_test_gcc"
- "-//src/test/shell/bazel:bazel_coverage_cc_head_test_gcc"
- "-//src/test/shell/bazel:bazel_coverage_sh_test"
include_json_profile:
- build
- test
ubuntu1604:
ubuntu1804:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
Expand All @@ -50,6 +54,7 @@ tasks:
build_flags:
- "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
- "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
build_targets:
- "//src:bazel"
- "//src:bazel_jdk_minimal"
Expand All @@ -59,6 +64,8 @@ tasks:
- "--sandbox_writable_path=$HOME/bazeltest"
- "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
- "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
# Configure and enable tests that require access to the network.
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
test_targets:
- "//scripts/..."
- "//src/java_tools/..."
Expand All @@ -71,12 +78,16 @@ tasks:
- "//tools/aquery_differ/..."
- "//tools/python/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
- "-//src/java_tools/buildjar/..."
- "-//src/java_tools/import_deps_checker/..."
include_json_profile:
- build
- test
ubuntu1804:
ubuntu1804_clang:
platform: ubuntu1804
environment:
CC: clang
CC_CONFIGURE_DEBUG: 1
name: "Clang"
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
Expand All @@ -86,7 +97,6 @@ tasks:
build_flags:
- "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
- "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
build_targets:
- "//src:bazel"
- "//src:bazel_jdk_minimal"
Expand All @@ -96,30 +106,12 @@ tasks:
- "--sandbox_writable_path=$HOME/bazeltest"
- "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
- "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
# Configure and enable tests that require access to the network.
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
test_targets:
- "//scripts/..."
- "//src/java_tools/..."
- "//src/test/..."
- "//src/tools/execlog/..."
- "//src/tools/singlejar/..."
- "//src/tools/workspacelog/..."
- "//third_party/ijar/..."
- "//tools/android/..."
- "//tools/aquery_differ/..."
- "//tools/python/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
- "-//src/java_tools/import_deps_checker/..."
- "//src/test/shell/bazel:cc_integration_test"
include_json_profile:
- build
- test
ubuntu1804_clang:
platform: ubuntu1804
environment:
CC: clang
CC_CONFIGURE_DEBUG: 1
name: "Clang"
ubuntu2004:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
Expand All @@ -129,6 +121,7 @@ tasks:
build_flags:
- "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
- "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
build_targets:
- "//src:bazel"
- "//src:bazel_jdk_minimal"
Expand All @@ -138,12 +131,26 @@ tasks:
- "--sandbox_writable_path=$HOME/bazeltest"
- "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
- "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
# Configure and enable tests that require access to the network.
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
test_targets:
- "//src/test/shell/bazel:cc_integration_test"
- "//scripts/..."
- "//src/java_tools/..."
- "//src/test/..."
- "//src/tools/execlog/..."
- "//src/tools/singlejar/..."
- "//src/tools/workspacelog/..."
- "//third_party/ijar/..."
- "//tools/android/..."
- "//tools/aquery_differ/..."
- "//tools/python/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
- "-//src/java_tools/import_deps_checker/..."
include_json_profile:
- build
- test
macos:
xcode_version: "13.0"
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
Expand Down Expand Up @@ -197,23 +204,108 @@ tasks:
test_flags:
- "--copt=-w"
- "--host_copt=-w"
- "--test_tag_filters=-no_windows,-slow"
- "--test_env=JAVA_HOME"
- "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest_install_base"
- "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
test_targets:
- "//src:all_windows_tests"
- "//src:embedded_tools_size_test"
- "//src/test/cpp/..."
- "//src/test/java/com/google/devtools/build/android/..."
- "//src/test/java/com/google/devtools/build/lib/..."
- "//src/test/java/com/google/devtools/build/skyframe/..."
- "//src/test/java/com/google/devtools/common/options/..."
- "//src/test/native/windows/..."
- "//src/test/py/bazel/..."
- "//src/test/res/..."
- "//src/test/shell/..."
- "//src/tools/launcher/..."
- "//src/tools/singlejar/..."
- "//third_party/def_parser/..."
- "//tools/android/..."
- "//tools/aquery_differ/..."
- "//tools/bash/..."
- "//tools/build_defs/..."
- "//tools/cpp/runfiles/..."
- "//tools/java/..."
- "//tools/jdk/..."
- "//tools/python/..."
- "//tools/test/..."
# Re-enable the following tests on Windows:
# https://github.com/bazelbuild/bazel/issues/4292
- "-//src/test/java/com/google/devtools/build/android/desugar/nest/..."
- "-//src/test/java/com/google/devtools/build/android/desugar/stringconcat/..."
- "-//src/test/java/com/google/devtools/build/android/desugar/testing/junit/..."
- "-//src/test/java/com/google/devtools/build/android/desugar/covariantreturn/..."
- "-//src/test/java/com/google/devtools/build/android/desugar/scan/..."
- "-//src/test/java/com/google/devtools/build/android/desugar/typeannotation/..."
- "-//src/test/java/com/google/devtools/build/android/r8/..."
- "-//src/test/java/com/google/devtools/build/lib/analysis/..."
- "-//src/test/java/com/google/devtools/build/lib/query2/cquery/..."
- "-//src/test/java/com/google/devtools/build/lib/query2/engine/..."
- "-//src/test/java/com/google/devtools/build/lib/versioning/..."
- "-//src/test/java/com/google/devtools/build/lib/rules/java/..."
- "-//src/test/java/com/google/devtools/build/lib/worker/..."
- "-//src/test/java/com/google/devtools/build/lib/remote/..."
- "-//src/test/shell/bazel/remote/..."
- "-//tools/python:pywrapper_test"
include_json_profile:
- build
- test
rbe_ubuntu1604:
rbe_ubuntu1804:
platform: ubuntu1804
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/'
-e 's/^# android_ndk_repository/android_ndk_repository/'
-e 's/^# rbe_autoconfig/rbe_autoconfig/'
-e 's/^# load("@bazel_toolchains/load("@bazel_toolchains/' WORKSPACE
- sed -i.bak
-e 's/^# android_sdk_repository/android_sdk_repository/'
-e 's/^# android_ndk_repository/android_ndk_repository/' WORKSPACE
- rm -f WORKSPACE.bak
build_flags:
- "--config=ubuntu1804_java11"
- "--remote_executor=grpcs://remotebuildexecution.googleapis.com"
- "--jobs=200"
- "--experimental_remote_download_outputs=minimal"
- "--experimental_inmemory_jdeps_files"
- "--experimental_inmemory_dotd_files"
build_targets:
- "//src:bazel"
- "//src:bazel_jdk_minimal"
test_flags:
- "--config=ubuntu1804_java11"
- "--remote_executor=grpcs://remotebuildexecution.googleapis.com"
- "--jobs=200"
- "--experimental_remote_download_outputs=minimal"
- "--experimental_inmemory_jdeps_files"
- "--experimental_inmemory_dotd_files"
test_targets:
- "//scripts/..."
- "//src/java_tools/..."
- "//src/test/..."
- "//src/tools/execlog/..."
- "//src/tools/singlejar/..."
- "//src/tools/workspacelog/..."
- "//third_party/ijar/..."
- "//tools/aquery_differ/..."
- "//tools/python/..."
- "//tools/android/..."
# See https://github.com/bazelbuild/bazel/issues/8033
- "-//src/tools/singlejar:output_jar_simple_test"
- "-//src/test/shell/bazel:external_integration_test"
- "-//src/test/shell/bazel:bazel_repository_cache_test"
- "-//src/test/shell/integration:java_integration_test"
- "-//src/test/java/com/google/devtools/build/lib/sandbox/..."
# See https://github.com/bazelbuild/bazel/issues/8162 (also disabled for local exec)
- "-//src/java_tools/buildjar/..."
- "-//src/java_tools/import_deps_checker/..."
include_json_profile:
- build
- test
kythe_ubuntu2004:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/'
-e 's/^# android_ndk_repository/android_ndk_repository/' WORKSPACE
- rm -f WORKSPACE.bak
index_flags:
- "--define=kythe_corpus=github.com/bazelbuild/bazel"
index_targets_query: "kind(\"cc_(binary|library|test|proto_library) rule\", ...) union kind(\"java_(binary|import|library|plugin|test|proto_library) rule\", ...) union kind(\"proto_library rule\", ...)"
index_upload_policy: Always
index_upload_gcs: True
38 changes: 38 additions & 0 deletions .bazelci/postsubmit_bzlmod.yml
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"
Loading