57978fe099
We may be running unprivileged (e.g. Prow), and `make install` needs to be a uid 0 task.
16 lines
299 B
Bash
Executable File
16 lines
299 B
Bash
Executable File
#!/usr/bin/bash
|
|
# Install build dependencies, run unit tests and installed tests.
|
|
|
|
# This script is what Prow runs.
|
|
|
|
set -xeuo pipefail
|
|
|
|
dn=$(dirname $0)
|
|
. ${dn}/libbuild.sh
|
|
|
|
# add cargo's directory to the PATH like we do in CoreOS CI
|
|
export PATH="$HOME/.cargo/bin:$PATH"
|
|
|
|
${dn}/build.sh
|
|
make check
|