rpm-ostree/ci/build.sh
Colin Walters 7268ac9875 ci: Consistently source libbuild
Since we need to set HOME and PATH, let's do that in a central
place rather than scattering it around by having all of
our entrypoint scripts source the `libbuild.sh` shell "library".

Move the CoreOS CI entrypoint into a script like the others.
2021-02-03 19:25:26 -05:00

17 lines
401 B
Bash
Executable File

#!/usr/bin/bash
# Install build dependencies and then build.
set -xeuo pipefail
dn=$(dirname $0)
. ${dn}/libbuild.sh
${dn}/install-extra-builddeps.sh
${dn}/installdeps.sh
# make it clear what rustc version we're compiling with (this is grepped in CI)
rustc --version
export LSAN_OPTIONS=verbosity=1:log_threads=1
# And now the build
build --enable-installed-tests --enable-gtk-doc ${CONFIGOPTS:-}