Skip to content

Commit

Permalink
ci: Build the whole tree, not just rust bits
Browse files Browse the repository at this point in the history
Otherwise, we're not testing everything. E.g. the cbindgen bits.

Closes: #1778
Approved by: cgwalters
  • Loading branch information
jlebon authored and rh-atomic-bot committed Mar 7, 2019
1 parent e49f625 commit 6b928e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .papr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:-}

0 comments on commit 6b928e8

Please sign in to comment.