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:
parent
e49f625b61
commit
6b928e8f0e
@ -203,5 +203,7 @@ tests:
|
|||||||
- ci/installdeps.sh
|
- ci/installdeps.sh
|
||||||
- yum remove -y cargo
|
- yum remove -y cargo
|
||||||
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_MIN_VERSION -y
|
- 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 $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
|
||||||
|
@ -13,6 +13,9 @@ if ! getent passwd testuser; then
|
|||||||
adduser testuser
|
adduser testuser
|
||||||
fi
|
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
|
export LSAN_OPTIONS=verbosity=1:log_threads=1
|
||||||
# And now the build
|
# And now the build
|
||||||
build --enable-installed-tests --enable-gtk-doc ${CONFIGOPTS:-}
|
build --enable-installed-tests --enable-gtk-doc ${CONFIGOPTS:-}
|
||||||
|
Loading…
Reference in New Issue
Block a user