blob: 4688378538d9e659380f38b2d1412fdd01fd9b34 [file] [log] [blame]
Adrian Brandemuehl2ed74352017-08-23 20:29:57 -07001#!/bin/sh
2set -e
Brian Silverman1e5cc022018-02-03 22:59:48 -05003set -x
Adrian Brandemuehl2ed74352017-08-23 20:29:57 -07004
Austin Schuh033df092019-01-21 19:46:48 -08005TARGETS='//... @com_github_google_glog//... @com_google_ceres_solver//...'
Austin Schuh10358f22019-01-21 20:25:11 -08006
James Kuszmaul2af1ba82019-02-09 22:16:53 -08007# Include --config=eigen to enable Eigen assertions so that we catch potential
8# bugs with Eigen.
Austin Schuhca26b522019-02-17 17:25:14 -08009bazel test -c opt --stamp=no --config=eigen --curses=no --color=no ${TARGETS}
10bazel build -c opt --stamp=no --curses=no --color=no ${TARGETS} --cpu=roborio
11bazel build --stamp=no --curses=no --color=no ${TARGETS} --cpu=armhf-debian
12bazel build -c opt --stamp=no --curses=no --color=no \
13 //motors/... //y2019/jevois/... --cpu=cortex-m4f