-
Notifications
You must be signed in to change notification settings - Fork 258
/
presubmit.yml
47 lines (42 loc) · 1.03 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
---
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.2"
build_targets:
- "tools/..."
- "test/..."
test_targets:
- "tools/..."
- "test/..."
- "examples/..."
test_flags:
- --test_tag_filters=-skipci
common_last_green: &common_last_green
bazel: last_green
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_6_lts:
name: "6.x LTS"
bazel: 6.x
<<: *common
macos_last_green:
name: "Last Green Bazel"
<<: *common
<<: *common_last_green
doc_tests:
name: "Doc tests"
platform: ubuntu2004
test_targets:
- "doc/..."
<<: *common_last_green
buildifier: 6.3.2