ci: Build the whole tree, not just rust bits

Otherwise, we're not testing everything. E.g. the cbindgen bits.

Closes: #1778
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2019-03-07 15:42:41 -05:00 committed by Atomic Bot
parent e49f625b61
commit 6b928e8f0e
2 changed files with 6 additions and 1 deletions

View File

@ -203,5 +203,7 @@ tests:
- ci/installdeps.sh
- yum remove -y cargo
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_MIN_VERSION -y
- PATH=$HOME/.cargo/bin:$PATH sh -c 'cd rust && rustc --version && cargo build' |& tee out.txt
- PATH=$HOME/.cargo/bin:$PATH ci/build.sh |& tee out.txt
- grep $RUST_MIN_VERSION out.txt
- grep "checking for cargo... $HOME/.cargo/bin/cargo" out.txt
- grep "checking for rustc... $HOME/.cargo/bin/rustc" out.txt

View File

@ -13,6 +13,9 @@ if ! getent passwd testuser; then
adduser testuser
fi
# 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:-}