blob: 3a8008c9d685789d2b6c0fccaab067ee0c2041e8 [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"
Austin Schuh512b98f2020-12-28 13:12:16 -080012 commands:
13 - tools/ci/clean-disk.sh
14 - tools/bazel ${STARTUP} --output_base=../k8_output_base test ${COMMON} --config=k8 --config=eigen ${TARGETS}
Austin Schuh168524c2020-12-27 22:43:42 -080015
16 - label: "roborio"
Austin Schuh512b98f2020-12-28 13:12:16 -080017 commands:
18 - tools/ci/clean-disk.sh
19 - tools/bazel ${STARTUP} --output_base=../roborio_output_base build ${COMMON} --config=roborio ${ROBORIO_TARGETS}
Austin Schuh168524c2020-12-27 22:43:42 -080020
21 - label: "armhf-debian"
Austin Schuh512b98f2020-12-28 13:12:16 -080022 commands:
23 - tools/ci/clean-disk.sh
24 - tools/bazel ${STARTUP} --output_base=../armhf-debian_output_base build ${COMMON} --config=armhf-debian ${TARGETS}
Austin Schuh168524c2020-12-27 22:43:42 -080025
26 - label: "cortex-m4f"
Austin Schuh512b98f2020-12-28 13:12:16 -080027 commands:
28 - tools/ci/clean-disk.sh
29 - tools/bazel ${STARTUP} --output_base=../cortex-m4f_output_base build ${COMMON} --config=cortex-m4f ${M4F_TARGETS}