-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathbuildbuddy.yaml
More file actions
27 lines (26 loc) · 1.18 KB
/
buildbuddy.yaml
File metadata and controls
27 lines (26 loc) · 1.18 KB
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:
- "*"
steps:
- run: "bash ./_checkout_modules.sh" # https://www.buildbuddy.io/docs/workflows-config hopefully this can now be run directly
- run: "bazel 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:
- "*"
steps:
- run: "bash ./_checkout_modules.sh"
- run: "bazel build --config=remote :yatc"