Skip to content
Snippets Groups Projects
Commit e3914cf3 authored by gnzlbg's avatar gnzlbg
Browse files

Make the build script fail faster

parent 9bdc5122
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,9 @@ matrix:
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: nightly
install: true
install:
- rustup component add rust-src
- cargo install xargo
- name: "Build Stable Rust"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
......
......@@ -30,7 +30,7 @@ test_target() {
;;
esac
rustup target add "${TARGET}" --toolchain "${RUST}" || true
rustup target add "${TARGET}" --toolchain "${RUST}"
# Test that libc builds without any default features (no libstd)
"$CARGO" "+${RUST}" build -vv $opt --no-default-features --target "${TARGET}"
......@@ -198,9 +198,6 @@ x86_64-unknown-openbsd
"
if [ "${RUST}" = "nightly" ] && [ "${OS}" = "linux" ]; then
rustup component add rust-src || true
cargo install xargo || true
for TARGET in $RUST_LINUX_NO_CORE_TARGETS; do
RUST_LIBC_NO_CORE_BUILD=1 test_target xargo "$TARGET" 1
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment