Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions .buildbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ cargo fmt --all -- --check
rustup toolchain install stable
rustup default stable

# Later on we are going to need to install cargo-deny and mdbook. We kick the
# install jobs off now so that at least some work (e.g. downloading crates) can
# happen in parallel, speeding up the overall process.

cargo_deny_mdbook_tmp=$(mktemp)
( cargo install --locked cargo-deny ; cargo install --locked mdbook ) \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see there are also some more cargo install calls happening (for I believe decently sized wasm packages).
I'm not sure if they benefit from this parallelism too, perhaps another patch?.

>"${cargo_deny_mdbook_tmp}" 2>&1 &
cargo_deny_mdbook_pid=$!

cargo test
cargo test --release

Expand Down Expand Up @@ -89,7 +98,12 @@ cd $root

RUSTDOCFLAGS="-Dwarnings" cargo doc --no-deps

which cargo-deny | cargo install cargo-deny || true
if [ "X`which cargo-deny`" != "X" ]; then
cargo-deny check license
fi
# Check licenses.
wait "${cargo_deny_mdbook_pid}" || ( cat "${cargo_deny_mdbook_tmp}" && exit 1 )
cargo-deny check license

# Build the docs
cd $root/doc
mdbook build
test -d book
cd ..
1 change: 0 additions & 1 deletion doc/book.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[book]
authors = ["Lukas Diekmann", "Laurence Tratt"]
src = "src"
title = "grmtools"