diff --git a/.buildbot.sh b/.buildbot.sh index 12e09b518b433..5b10e218f6438 100644 --- a/.buildbot.sh +++ b/.buildbot.sh @@ -8,6 +8,14 @@ set -e # depth for the bootstrapper to find the correct llvm sha git fetch --unshallow +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh +sh rustup.sh --default-host x86_64-unknown-linux-gnu \ + --default-toolchain nightly \ + --no-modify-path \ + --profile minimal \ + -y +export PATH=`pwd`/.cargo/bin/:$PATH + export CARGO_HOME="`pwd`/.cargo" export RUSTUP_HOME="`pwd`/.rustup" @@ -16,3 +24,9 @@ ulimit -d $((1024 * 1024 * 8)) # 8 GiB /usr/bin/time -v python3 x.py test --stage 2 --config .buildbot.config.toml --exclude rustdoc-json --exclude debuginfo +# Build and test yksom +git clone --recursive https://github.com/softdevteam/yksom +cd yksom +rustup toolchain link alloy build/x86_64-unknown-linux-gnu/stage1 +cargo +alloy test +cargo +alloy test --release