-
Notifications
You must be signed in to change notification settings - Fork 27
/
buildbuddy.yaml
27 lines (26 loc) · 1.1 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
# "This config is equivalent to the default config that we use if you do not have a buildbuddy.yaml file at the root of your repo."
actions:
- name: "Test all targets"
container_image: "ubuntu-20.04" # <-- we use .deb binaries from 20.04 as our dependencies
triggers:
push:
branches:
- "master" # <-- replace "main" with your main branch name
pull_request:
branches:
- "*"
bazel_commands:
- "run --config=remote :checkout_modules"
- "test --config=remote //:util_test" # <-- main modification here: --config=remote as a default for buildbuddy.yaml; also currently testing even //:all is broken (because it tries to compile macclipboard.m), much less //...
- name: "Build main binary"
container_image: "ubuntu-20.04" # <-- we use .deb binaries from 20.04 as our dependencies
triggers:
push:
branches:
- "master" # <-- replace "main" with your main branch name
pull_request:
branches:
- "*"
bazel_commands:
- "run --config=remote :checkout_modules"
- "build --config=remote :yatc"