-
Notifications
You must be signed in to change notification settings - Fork 92
/
buildbuddy.yaml
124 lines (123 loc) · 3.69 KB
/
buildbuddy.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
actions:
- name: Test
container_image: ubuntu-20.04
triggers:
push:
branches:
- "master"
- "bb_release_*"
pull_request:
branches:
- "*"
bazel_commands:
- test //... --config=linux-workflows --config=race --test_tag_filters=-performance,-docker,-bare
- name: Test with BzlMod
container_image: ubuntu-20.04
resource_requests:
disk: 27GB
triggers:
push:
branches:
- "master"
pull_request:
branches:
- "*"
bazel_commands:
- test //... --enable_bzlmod --config=linux-workflows --config=race --test_tag_filters=-performance,-docker,-bare
- name: Check style
container_image: ubuntu-20.04
triggers:
push:
branches:
- "master"
pull_request:
branches:
- "*"
# Do a non-shallow fetch so that we can diff against the previous commit
# when running on push to master.
git_fetch_depth: 0
bazel_commands:
- run //tools/checkstyle --config=linux-workflows
- name: Test (darwin_amd64)
os: "darwin"
triggers:
push:
branches:
- "master"
pull_request:
branches:
- "*"
# TODO: Fix the tests below on Mac, and re-enable.
bazel_commands:
- >-
test --config=mac-workflows --test_tag_filters=-performance,-webdriver,-docker,-bare
--
//...
-//server/backends/disk_cache:all
-//enterprise/server/backends/pebble_cache:all
-//enterprise/server/raft/txn:all
-//enterprise/server/raft/store:all
-//enterprise/server/remote_execution/commandutil:all
-//enterprise/server/remote_execution/runner:all
-//enterprise/server/test/integration/...
- name: Test (darwin_arm64)
os: "darwin"
arch: "arm64"
triggers:
push:
branches:
- "master"
pull_request:
branches:
- "*"
# TODO: Fix the tests below on Mac, and re-enable.
bazel_commands:
- >-
test --config=mac-workflows --test_tag_filters=-performance,-webdriver,-docker,-bare
--
//...
-//server/backends/disk_cache:all
-//enterprise/server/backends/pebble_cache:all
-//enterprise/server/raft/txn:all
-//enterprise/server/raft/store:all
-//enterprise/server/remote_execution/commandutil:all
-//enterprise/server/remote_execution/runner:all
-//enterprise/server/test/integration/...
- name: Benchmark
container_image: ubuntu-20.04
triggers:
push:
branches:
- "master"
bazel_commands:
- test //... --config=linux-workflows --config=performance --test_tag_filters=+performance
# TODO(bduffany): Move docker tests to the Test workflow when they are fast enough.
- name: Docker tests
container_image: ubuntu-20.04
triggers:
push:
branches:
- "master"
pull_request:
branches:
- "*"
bazel_commands:
# TODO(http://go/b/1249): Increase reliability of runner recycling when
# executing with high concurrency, and remove `--jobs=3`
- test //... --config=linux-workflows --config=race --test_tag_filters=+docker --build_tag_filters=+docker --jobs=3
- name: Baremetal tests
container_image: ubuntu-20.04
triggers:
push:
branches:
- "master"
pull_request:
branches:
- "*"
bazel_commands:
- test //... --config=linux-workflows --config=race --test_tag_filters=+bare --build_tag_filters=+bare
plugins:
- path: cli/plugins/go-deps
- path: cli/plugins/open-invocation
- path: cli/plugins/notify
- path: cli/example_plugins/go-highlight