blob: 67925911bfa2f582a7575e6513f4ccec8cf7d810 [file] [log] [blame]
Austin Schuh168524c2020-12-27 22:43:42 -08001env:
2 STARTUP: --max_idle_secs=0 --watchfs
Austin Schuha4783922021-03-16 23:20:22 -07003 COMMON: -c opt --stamp=no --curses=yes --symlink_prefix=/ --disk_cache=~/.cache/bazel/disk_cache/
James Kuszmaulf4bf9fe2021-05-10 22:58:24 -07004 TARGETS: //... @com_github_google_glog//... @com_google_ceres_solver//... @com_github_rawrtc_rawrtc//... @com_google_googletest//...
Austin Schuh168524c2020-12-27 22:43:42 -08005 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}