blob: 9b8eea471f20f4cba4b107358b4a96702b117f56 [file] [log] [blame]
Jakob Buchgraber1d182e92018-03-22 03:53:03 -07001---
philwo527f6882019-06-25 00:13:01 -07002tasks:
philwoc406da02021-10-21 09:22:35 -07003 centos7_java11_devtoolset10:
philwo527f6882019-06-25 00:13:01 -07004 shell_commands:
5 - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
6 android_ndk_repository/android_ndk_repository/' WORKSPACE
7 - rm -f WORKSPACE.bak
pcloudy11372212020-03-25 03:50:10 -07008 - rm -rf $HOME/bazeltest
philwo9ae63682020-01-29 14:38:47 -08009 - mkdir $HOME/bazeltest
philwo937a5cf52020-01-30 02:59:57 -080010 build_flags:
11 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
12 - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
philwo3b7e65a2022-02-04 05:45:11 -080013 - "--noremote_accept_cached"
philwo527f6882019-06-25 00:13:01 -070014 build_targets:
philwo37a429a2020-11-18 11:28:58 -080015 - "//:bazel-distfile.zip"
16 - "//scripts/packages/debian:bazel-debian.deb"
17 - "//scripts/packages:with-jdk/install.sh"
philwo527f6882019-06-25 00:13:01 -070018 - "//src:bazel"
19 - "//src:bazel_jdk_minimal"
philwo9ae63682020-01-29 14:38:47 -080020 - "//src:test_repos"
philwo527f6882019-06-25 00:13:01 -070021 test_flags:
philwo9ae63682020-01-29 14:38:47 -080022 - "--sandbox_default_allow_network=false"
23 - "--sandbox_writable_path=$HOME/bazeltest"
24 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
25 - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
philwo527f6882019-06-25 00:13:01 -070026 test_targets:
philwo527f6882019-06-25 00:13:01 -070027 - "//scripts/..."
28 - "//src/java_tools/..."
29 - "//src/test/..."
philwo761d16c2020-01-27 05:28:31 -080030 - "//src/tools/execlog/..."
philwo527f6882019-06-25 00:13:01 -070031 - "//src/tools/singlejar/..."
philwo761d16c2020-01-27 05:28:31 -080032 - "//src/tools/workspacelog/..."
philwo527f6882019-06-25 00:13:01 -070033 - "//third_party/ijar/..."
34 - "//tools/android/..."
35 - "//tools/aquery_differ/..."
36 - "//tools/python/..."
philwo527f6882019-06-25 00:13:01 -070037 # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
38 - "-//src/java_tools/buildjar/..."
39 - "-//src/java_tools/import_deps_checker/..."
philwo761d16c2020-01-27 05:28:31 -080040 # These tests are not compatible with the gcov version of CentOS 7.
philwo527f6882019-06-25 00:13:01 -070041 - "-//src/test/shell/bazel:bazel_cc_code_coverage_test"
Charles Mitaef5ca412020-08-20 07:26:30 -070042 - "-//src/test/shell/bazel:bazel_coverage_cc_released_test_gcc"
43 - "-//src/test/shell/bazel:bazel_coverage_cc_head_test_gcc"
philwo527f6882019-06-25 00:13:01 -070044 - "-//src/test/shell/bazel:bazel_coverage_sh_test"
45 include_json_profile:
46 - build
47 - test
buchgr3af38462018-06-22 06:41:17 -070048 ubuntu1804:
49 shell_commands:
Philipp Wollermann6d01f672019-06-04 07:03:37 -070050 - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
51 android_ndk_repository/android_ndk_repository/' WORKSPACE
52 - rm -f WORKSPACE.bak
pcloudy11372212020-03-25 03:50:10 -070053 - rm -rf $HOME/bazeltest
philwo9ae63682020-01-29 14:38:47 -080054 - mkdir $HOME/bazeltest
philwo937a5cf52020-01-30 02:59:57 -080055 build_flags:
56 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
57 - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
58 - "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
philwo3b7e65a2022-02-04 05:45:11 -080059 - "--noremote_accept_cached"
buchgr3af38462018-06-22 06:41:17 -070060 build_targets:
Philipp Wollermann6d01f672019-06-04 07:03:37 -070061 - "//src:bazel"
62 - "//src:bazel_jdk_minimal"
philwo9ae63682020-01-29 14:38:47 -080063 - "//src:test_repos"
buchgr3af38462018-06-22 06:41:17 -070064 test_flags:
philwo9ae63682020-01-29 14:38:47 -080065 - "--sandbox_default_allow_network=false"
66 - "--sandbox_writable_path=$HOME/bazeltest"
67 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
68 - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
jmmv86450902019-11-12 06:08:59 -080069 # Configure and enable tests that require access to the network.
70 - "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
buchgr3af38462018-06-22 06:41:17 -070071 test_targets:
Philipp Wollermann6d01f672019-06-04 07:03:37 -070072 - "//scripts/..."
73 - "//src/java_tools/..."
74 - "//src/test/..."
philwo761d16c2020-01-27 05:28:31 -080075 - "//src/tools/execlog/..."
Philipp Wollermann6d01f672019-06-04 07:03:37 -070076 - "//src/tools/singlejar/..."
philwo761d16c2020-01-27 05:28:31 -080077 - "//src/tools/workspacelog/..."
Philipp Wollermann6d01f672019-06-04 07:03:37 -070078 - "//third_party/ijar/..."
79 - "//tools/android/..."
80 - "//tools/aquery_differ/..."
81 - "//tools/python/..."
Philipp Wollermann6d01f672019-06-04 07:03:37 -070082 # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
83 - "-//src/java_tools/import_deps_checker/..."
Joe Le-Ba42c750a2019-05-22 07:45:06 -070084 include_json_profile:
Philipp Wollermann6d01f672019-06-04 07:03:37 -070085 - build
86 - test
87 ubuntu1804_clang:
88 platform: ubuntu1804
89 environment:
90 CC: clang
91 CC_CONFIGURE_DEBUG: 1
92 name: "Clang"
93 shell_commands:
94 - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
95 android_ndk_repository/android_ndk_repository/' WORKSPACE
96 - rm -f WORKSPACE.bak
pcloudy11372212020-03-25 03:50:10 -070097 - rm -rf $HOME/bazeltest
philwo9ae63682020-01-29 14:38:47 -080098 - mkdir $HOME/bazeltest
philwo937a5cf52020-01-30 02:59:57 -080099 build_flags:
100 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
101 - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
philwo3b7e65a2022-02-04 05:45:11 -0800102 - "--noremote_accept_cached"
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700103 build_targets:
104 - "//src:bazel"
105 - "//src:bazel_jdk_minimal"
philwo9ae63682020-01-29 14:38:47 -0800106 - "//src:test_repos"
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700107 test_flags:
philwo9ae63682020-01-29 14:38:47 -0800108 - "--sandbox_default_allow_network=false"
109 - "--sandbox_writable_path=$HOME/bazeltest"
110 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
111 - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700112 test_targets:
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700113 - "//src/test/shell/bazel:cc_integration_test"
114 include_json_profile:
115 - build
116 - test
Philipp Wollermann720b5b92020-09-23 23:04:32 -0700117 ubuntu2004:
118 shell_commands:
119 - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
120 android_ndk_repository/android_ndk_repository/' WORKSPACE
121 - rm -f WORKSPACE.bak
122 - rm -rf $HOME/bazeltest
123 - mkdir $HOME/bazeltest
124 build_flags:
125 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
126 - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
127 - "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
philwo3b7e65a2022-02-04 05:45:11 -0800128 - "--noremote_accept_cached"
Philipp Wollermann720b5b92020-09-23 23:04:32 -0700129 build_targets:
130 - "//src:bazel"
131 - "//src:bazel_jdk_minimal"
132 - "//src:test_repos"
133 test_flags:
134 - "--sandbox_default_allow_network=false"
135 - "--sandbox_writable_path=$HOME/bazeltest"
136 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
137 - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
138 # Configure and enable tests that require access to the network.
139 - "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
140 test_targets:
141 - "//scripts/..."
142 - "//src/java_tools/..."
143 - "//src/test/..."
144 - "//src/tools/execlog/..."
145 - "//src/tools/singlejar/..."
146 - "//src/tools/workspacelog/..."
147 - "//third_party/ijar/..."
148 - "//tools/android/..."
149 - "//tools/aquery_differ/..."
150 - "//tools/python/..."
151 # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
152 - "-//src/java_tools/import_deps_checker/..."
Philipp Wollermann720b5b92020-09-23 23:04:32 -0700153 include_json_profile:
154 - build
155 - test
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700156 macos:
philwo01a81822021-10-21 13:10:50 -0700157 xcode_version: "13.0"
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700158 shell_commands:
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700159 - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
160 android_ndk_repository/android_ndk_repository/' WORKSPACE
161 - rm -f WORKSPACE.bak
pcloudy11372212020-03-25 03:50:10 -0700162 - rm -rf $HOME/bazeltest
philwo9ae63682020-01-29 14:38:47 -0800163 - mkdir $HOME/bazeltest
pcloudyda4f6d12022-02-10 07:03:17 -0800164 - ln -sf $OUTPUT_BASE/external $HOME/bazeltest/external
rupertsbf04c532018-12-14 10:36:02 -0800165 build_flags:
philwo937a5cf52020-01-30 02:59:57 -0800166 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
167 - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external"
pcloudyda4f6d12022-02-10 07:03:17 -0800168 - "--test_env=TEST_REPOSITORY_HOME=$HOME/bazeltest/external"
philwo937a5cf52020-01-30 02:59:57 -0800169 - "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
philwo3b7e65a2022-02-04 05:45:11 -0800170 - "--noremote_accept_cached"
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700171 build_targets:
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700172 - "//src:bazel"
173 - "//src:bazel_jdk_minimal"
philwo9ae63682020-01-29 14:38:47 -0800174 - "//src:test_repos"
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700175 test_flags:
philwo9ae63682020-01-29 14:38:47 -0800176 - "--sandbox_default_allow_network=false"
177 - "--sandbox_writable_path=$HOME/bazeltest"
178 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest/install_base"
pcloudyda4f6d12022-02-10 07:03:17 -0800179 - "--test_env=TEST_REPOSITORY_HOME=$HOME/bazeltest/external"
jmmv86450902019-11-12 06:08:59 -0800180 # Configure and enable tests that require access to the network.
181 - "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700182 test_targets:
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700183 - "//scripts/..."
184 - "//src/test/..."
philwo761d16c2020-01-27 05:28:31 -0800185 - "//src/tools/execlog/..."
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700186 - "//src/tools/singlejar/..."
philwo761d16c2020-01-27 05:28:31 -0800187 - "//src/tools/workspacelog/..."
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700188 - "//third_party/ijar/..."
189 - "//tools/android/..."
190 - "//tools/aquery_differ/..."
191 - "//tools/osx/crosstool/..."
192 - "//tools/python/..."
philwo761d16c2020-01-27 05:28:31 -0800193 # C++ coverage is not supported on macOS yet.
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700194 - "-//src/test/shell/bazel:bazel_cc_code_coverage_test"
Joe Le-Ba42c750a2019-05-22 07:45:06 -0700195 include_json_profile:
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700196 - build
197 - test
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700198 windows:
Loo Rong Jie2200ffa2018-12-14 08:38:39 -0800199 batch_commands:
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700200 - powershell -Command "(Get-Content WORKSPACE) -Replace '# android_', 'android_' | Set-Content WORKSPACE"
pcloudyda4f6d12022-02-10 07:03:17 -0800201 - mkdir C:\b
202 - mklink /J C:\b\bazeltest_external %OUTPUT_BASE:/=\%\external
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700203 build_flags:
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700204 - "--copt=-w"
205 - "--host_copt=-w"
philwo937a5cf52020-01-30 02:59:57 -0800206 - "--test_env=JAVA_HOME"
Philipp Wollermannb4c09f22020-02-05 23:53:27 -0800207 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest_install_base"
pcloudyda4f6d12022-02-10 07:03:17 -0800208 - "--test_env=TEST_REPOSITORY_HOME=C:/b/bazeltest_external"
philwo3b7e65a2022-02-04 05:45:11 -0800209 - "--noremote_accept_cached"
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700210 build_targets:
pcloudybf992ac2019-10-15 04:36:35 -0700211 - "//src:bazel.exe"
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700212 - "//src:bazel_jdk_minimal"
philwo9ae63682020-01-29 14:38:47 -0800213 - "//src:test_repos"
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700214 test_flags:
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700215 - "--copt=-w"
216 - "--host_copt=-w"
pcloudy572d4fd2021-06-22 10:29:03 -0700217 - "--test_tag_filters=-no_windows,-slow"
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700218 - "--test_env=JAVA_HOME"
Philipp Wollermannb4c09f22020-02-05 23:53:27 -0800219 - "--test_env=TEST_INSTALL_BASE=$HOME/bazeltest_install_base"
pcloudyda4f6d12022-02-10 07:03:17 -0800220 - "--test_env=TEST_REPOSITORY_HOME=C:/b/bazeltest_external"
Jakob Buchgraber1d182e92018-03-22 03:53:03 -0700221 test_targets:
pcloudy572d4fd2021-06-22 10:29:03 -0700222 - "//src:embedded_tools_size_test"
223 - "//src/test/cpp/..."
224 - "//src/test/java/com/google/devtools/build/android/..."
225 - "//src/test/java/com/google/devtools/build/lib/..."
226 - "//src/test/java/com/google/devtools/build/skyframe/..."
227 - "//src/test/java/com/google/devtools/common/options/..."
228 - "//src/test/native/windows/..."
229 - "//src/test/py/bazel/..."
230 - "//src/test/res/..."
231 - "//src/test/shell/..."
232 - "//src/tools/launcher/..."
233 - "//src/tools/singlejar/..."
234 - "//third_party/def_parser/..."
235 - "//tools/android/..."
236 - "//tools/aquery_differ/..."
237 - "//tools/bash/..."
238 - "//tools/build_defs/..."
239 - "//tools/cpp/runfiles/..."
240 - "//tools/java/..."
241 - "//tools/jdk/..."
242 - "//tools/python/..."
243 - "//tools/test/..."
244 # Re-enable the following tests on Windows:
245 # https://github.com/bazelbuild/bazel/issues/4292
246 - "-//src/test/java/com/google/devtools/build/android/desugar/nest/..."
247 - "-//src/test/java/com/google/devtools/build/android/desugar/stringconcat/..."
248 - "-//src/test/java/com/google/devtools/build/android/desugar/testing/junit/..."
249 - "-//src/test/java/com/google/devtools/build/android/desugar/covariantreturn/..."
250 - "-//src/test/java/com/google/devtools/build/android/desugar/scan/..."
251 - "-//src/test/java/com/google/devtools/build/android/desugar/typeannotation/..."
252 - "-//src/test/java/com/google/devtools/build/android/r8/..."
pcloudy572d4fd2021-06-22 10:29:03 -0700253 - "-//src/test/java/com/google/devtools/build/lib/query2/cquery/..."
254 - "-//src/test/java/com/google/devtools/build/lib/query2/engine/..."
255 - "-//src/test/java/com/google/devtools/build/lib/versioning/..."
256 - "-//src/test/java/com/google/devtools/build/lib/rules/java/..."
257 - "-//src/test/java/com/google/devtools/build/lib/worker/..."
258 - "-//src/test/java/com/google/devtools/build/lib/remote/..."
259 - "-//src/test/shell/bazel/remote/..."
260 - "-//tools/python:pywrapper_test"
Joe Le-Ba42c750a2019-05-22 07:45:06 -0700261 include_json_profile:
Philipp Wollermann6d01f672019-06-04 07:03:37 -0700262 - build
263 - test
philwoc406da02021-10-21 09:22:35 -0700264 rbe_ubuntu1804:
265 platform: ubuntu1804
Philipp Wollermannf8f9dc82021-05-21 10:36:53 -0700266 shell_commands:
267 - sed -i.bak
268 -e 's/^# android_sdk_repository/android_sdk_repository/'
269 -e 's/^# android_ndk_repository/android_ndk_repository/' WORKSPACE
270 - rm -f WORKSPACE.bak
271 build_flags:
philwoc406da02021-10-21 09:22:35 -0700272 - "--config=ubuntu1804_java11"
Philipp Wollermannf8f9dc82021-05-21 10:36:53 -0700273 - "--remote_executor=grpcs://remotebuildexecution.googleapis.com"
274 - "--jobs=200"
275 - "--experimental_remote_download_outputs=minimal"
276 - "--experimental_inmemory_jdeps_files"
277 - "--experimental_inmemory_dotd_files"
278 build_targets:
279 - "//src:bazel"
280 - "//src:bazel_jdk_minimal"
281 test_flags:
philwoc406da02021-10-21 09:22:35 -0700282 - "--config=ubuntu1804_java11"
Philipp Wollermannf8f9dc82021-05-21 10:36:53 -0700283 - "--remote_executor=grpcs://remotebuildexecution.googleapis.com"
284 - "--jobs=200"
285 - "--experimental_remote_download_outputs=minimal"
286 - "--experimental_inmemory_jdeps_files"
287 - "--experimental_inmemory_dotd_files"
288 test_targets:
289 - "//scripts/..."
290 - "//src/java_tools/..."
291 - "//src/test/..."
292 - "//src/tools/execlog/..."
293 - "//src/tools/singlejar/..."
294 - "//src/tools/workspacelog/..."
295 - "//third_party/ijar/..."
296 - "//tools/aquery_differ/..."
297 - "//tools/python/..."
298 - "//tools/android/..."
299 # See https://github.com/bazelbuild/bazel/issues/8033
300 - "-//src/tools/singlejar:output_jar_simple_test"
301 - "-//src/test/shell/bazel:external_integration_test"
302 - "-//src/test/shell/bazel:bazel_repository_cache_test"
303 - "-//src/test/shell/integration:java_integration_test"
304 - "-//src/test/java/com/google/devtools/build/lib/sandbox/..."
305 # See https://github.com/bazelbuild/bazel/issues/8162 (also disabled for local exec)
306 - "-//src/java_tools/buildjar/..."
307 - "-//src/java_tools/import_deps_checker/..."
pcloudy06d2aad2022-05-19 04:21:08 -0700308 # We hit connection timeout error for downl with RBE, see b/217865760
309 - "-//src/test/py/bazel:bazel_module_test"
Philipp Wollermannf8f9dc82021-05-21 10:36:53 -0700310 include_json_profile:
311 - build
312 - test
Chi Wanga778cb72020-08-31 21:22:58 -0700313 kythe_ubuntu2004:
314 shell_commands:
315 - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/'
316 -e 's/^# android_ndk_repository/android_ndk_repository/' WORKSPACE
317 - rm -f WORKSPACE.bak
318 index_flags:
319 - "--define=kythe_corpus=github.com/bazelbuild/bazel"
320 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\", ...)"
321 index_upload_policy: Always
322 index_upload_gcs: True