-
Notifications
You must be signed in to change notification settings - Fork 15
/
presubmit.yml
77 lines (68 loc) · 1.99 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
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
---
buildifier: latest
bazel: last_green
basic_example: &basic_example
working_directory: examples/basic
build_flags:
- "--incompatible_disallow_empty_glob"
- "--incompatible_enable_android_toolchain_resolution"
- "--android_platforms=//:arm64-v8a,//:x86"
- "--enable_bzlmod=False"
- "--enable_workspace=True"
build_targets:
- "//java/com/app:app"
basic_example_bzlmod: &basic_example_bzlmod
working_directory: examples/basic
build_flags:
- "--incompatible_disallow_empty_glob"
- "--incompatible_enable_android_toolchain_resolution"
- "--android_platforms=//:arm64-v8a,//:x86"
build_targets:
- "//java/com/app:app"
cpu_features: &cpu_features
working_directory: examples/cpu_features
build_flags:
- "--incompatible_disallow_empty_glob"
- "--incompatible_enable_android_toolchain_resolution"
- "--platforms=//:arm64-v8a"
- "--enable_workspace=True"
build_targets:
- "//:all"
ubuntu2004: &ubuntu2004
platform: ubuntu2004
environment:
ANDROID_NDK_HOME: /opt/android-ndk-r25b
macos: &macos
platform: macos
environment:
ANDROID_NDK_HOME: /Users/buildkite/android-ndk-r25b
windows: &windows
platform: windows
environment:
ANDROID_NDK_HOME: c:/android_ndk/r25b
BAZELCI_LOCAL_RUN: true
tasks:
basic_example_ubuntu2004:
name: Basic Example
<<: [*ubuntu2004, *basic_example]
basic_example_bzlmod_ubuntu2004:
name: Basic Example Bzlmod
<<: [*ubuntu2004, *basic_example_bzlmod]
basic_example_macos:
name: Basic Example
<<: [*macos, *basic_example]
basic_example_bzlmod_macos:
name: Basic Example Bzlmod
<<: [*macos, *basic_example_bzlmod]
basic_example_windows:
name: Basic Example
<<: [*windows, *basic_example]
basic_example_bzlmod_windows:
name: Basic Example Bzlmod
<<: [*windows, *basic_example_bzlmod]
cpu_features_ubuntu2004:
name: CPU Features
<<: [*ubuntu2004, *cpu_features]
cpu_features_macos:
name: CPU Features
<<: [*macos, *cpu_features]