-
Notifications
You must be signed in to change notification settings - Fork 272
/
presubmit.yml
49 lines (44 loc) · 1.29 KB
/
presubmit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
x_defaults:
# YAML has a feature for "repeated nodes", BazelCI is fine with extra nodes
# it doesn't know about; so that is used to avoid repeating common subparts.
common: &common
platform: macos_arm64
xcode_version: "15.4"
build_targets:
- "tools/..."
- "test/..."
test_targets:
- "tools/..."
- "test/..."
- "examples/..."
test_flags:
- --test_tag_filters=-skipci
# NOTE: To avoid listing the same things for build_flags/test_flags for each
# of these tasks, they are listed in the .bazelrc instead.
tasks:
macos_latest:
name: "Current LTS"
bazel: latest
<<: *common
macos_last_rc:
name: "Last RC Bazel"
bazel: last_rc
<<: *common
macos_last_green:
name: "Last Green Bazel"
bazel: last_green
<<: *common
doc_tests:
name: "Doc tests"
# FIXME: Use last_green once we cherry-pick in changes needed by
# https://github.com/bazelbuild/bazel/commit/b59004dd17366b09b0758b833f98294fd0e89345
# bazel: last_green
bazel: 21a12c72d84e9108142421d9a8526edf8dceb78c
platform: ubuntu2004
test_targets:
- "doc/..."
test_flags:
# TODO: Remove this once stardoc is updated to 0.7.1+ (https://github.com/bazelbuild/stardoc/pull/238)
- --noincompatible_disallow_empty_glob
buildifier: 6.4.0