Austin Schuh | 168524c | 2020-12-27 22:43:42 -0800 | [diff] [blame] | 1 | env: |
| 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 | |
| 10 | steps: |
| 11 | - label: "x86_64" |
Austin Schuh | 512b98f | 2020-12-28 13:12:16 -0800 | [diff] [blame^] | 12 | commands: |
| 13 | - tools/ci/clean-disk.sh |
| 14 | - tools/bazel ${STARTUP} --output_base=../k8_output_base test ${COMMON} --config=k8 --config=eigen ${TARGETS} |
Austin Schuh | 168524c | 2020-12-27 22:43:42 -0800 | [diff] [blame] | 15 | |
| 16 | - label: "roborio" |
Austin Schuh | 512b98f | 2020-12-28 13:12:16 -0800 | [diff] [blame^] | 17 | commands: |
| 18 | - tools/ci/clean-disk.sh |
| 19 | - tools/bazel ${STARTUP} --output_base=../roborio_output_base build ${COMMON} --config=roborio ${ROBORIO_TARGETS} |
Austin Schuh | 168524c | 2020-12-27 22:43:42 -0800 | [diff] [blame] | 20 | |
| 21 | - label: "armhf-debian" |
Austin Schuh | 512b98f | 2020-12-28 13:12:16 -0800 | [diff] [blame^] | 22 | commands: |
| 23 | - tools/ci/clean-disk.sh |
| 24 | - tools/bazel ${STARTUP} --output_base=../armhf-debian_output_base build ${COMMON} --config=armhf-debian ${TARGETS} |
Austin Schuh | 168524c | 2020-12-27 22:43:42 -0800 | [diff] [blame] | 25 | |
| 26 | - label: "cortex-m4f" |
Austin Schuh | 512b98f | 2020-12-28 13:12:16 -0800 | [diff] [blame^] | 27 | commands: |
| 28 | - tools/ci/clean-disk.sh |
| 29 | - tools/bazel ${STARTUP} --output_base=../cortex-m4f_output_base build ${COMMON} --config=cortex-m4f ${M4F_TARGETS} |