Adrian Brandemuehl | 2ed7435 | 2017-08-23 20:29:57 -0700 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | set -e |
Brian Silverman | 1e5cc02 | 2018-02-03 22:59:48 -0500 | [diff] [blame] | 3 | set -x |
Adrian Brandemuehl | 2ed7435 | 2017-08-23 20:29:57 -0700 | [diff] [blame] | 4 | |
Austin Schuh | 033df09 | 2019-01-21 19:46:48 -0800 | [diff] [blame] | 5 | TARGETS='//... @com_github_google_glog//... @com_google_ceres_solver//...' |
Austin Schuh | 10358f2 | 2019-01-21 20:25:11 -0800 | [diff] [blame] | 6 | |
James Kuszmaul | 2af1ba8 | 2019-02-09 22:16:53 -0800 | [diff] [blame^] | 7 | # Include --config=eigen to enable Eigen assertions so that we catch potential |
| 8 | # bugs with Eigen. |
| 9 | bazel test -c opt --config=eigen --curses=no --color=no ${TARGETS} |
Austin Schuh | 10358f2 | 2019-01-21 20:25:11 -0800 | [diff] [blame] | 10 | bazel build -c opt --curses=no --color=no ${TARGETS} --cpu=roborio |
| 11 | bazel build --curses=no --color=no ${TARGETS} --cpu=armhf-debian |
Brian Silverman | 7a7c24d | 2018-09-01 17:49:09 -0700 | [diff] [blame] | 12 | bazel build -c opt --curses=no --color=no //motors/... --cpu=cortex-m4f |