rpm-ostree/ci/build-check.sh
Colin Walters 57978fe099 ci/build-check: Don't make install
We may be running unprivileged (e.g. Prow), and `make install` needs to
be a uid 0 task.
2021-02-02 19:34:22 -05:00

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