blob: 42f6ebe1e661e19eef3ef5d4aa7d3a1e01f7e232 [file] [log] [blame]
Austin Schuh168524c2020-12-27 22:43:42 -08001env:
2 STARTUP: --max_idle_secs=0 --watchfs
3 COMMON: -c opt --stamp=no --curses=no --color=no --symlink_prefix=/ --disk_cache=~/.cache/bazel/disk_cache/
4 TARGETS: //... @com_github_google_glog//... @com_google_ceres_solver//...
5 M4F_TARGETS: //...
6 # Sanity check that we are able to build the y2020 roborio code, which confirms
7 # that we have the platform compatibility for the roborio set up correctly.
8 ROBORIO_TARGETS: ${TARGETS} //y2020:download_stripped
9
10steps:
11 - label: "x86_64"
12 command: tools/bazel ${STARTUP} --output_base=../k8_output_base test ${COMMON} --config=k8 --config=eigen ${TARGETS}
13
14 - label: "roborio"
15 command: tools/bazel ${STARTUP} --output_base=../roborio_output_base build ${COMMON} --config=roborio ${ROBORIO_TARGETS}
16
17 - label: "armhf-debian"
18 command: tools/bazel ${STARTUP} --output_base=../armhf-debian_output_base build ${COMMON} --config=armhf-debian ${TARGETS}
19
20 - label: "cortex-m4f"
21 command: tools/bazel ${STARTUP} --output_base=../cortex-m4f_output_base build ${COMMON} --config=cortex-m4f ${M4F_TARGETS}