From 7f465abd4f5c3269b1c7b2e99eeb1ff56fe846d5 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 6 Mar 2018 19:19:56 -0800 Subject: [PATCH] appveyor: Shard more slow MSVC builders Take two more slow builders and split them in two to get them under 2 hrs --- appveyor.yml | 12 +++++++++--- src/bootstrap/mk/Makefile.in | 1 + src/ci/run.sh | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 0735ead8923..fc1bb95b9b7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,12 +19,18 @@ environment: RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler SCRIPT: python x.py test - MSYS_BITS: 32 - RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --target=i686-pc-windows-msvc - SCRIPT: python x.py test --host i686-pc-windows-msvc --target i686-pc-windows-msvc + RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc + SCRIPT: python x.py test --exclude src/test/run-pass --exclude src/test/compile-fail + - MSYS_BITS: 32 + RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc + SCRIPT: python x.py test src/test/run-pass src/test/compile-fail # MSVC aux tests - MSYS_BITS: 64 - RUST_CHECK_TARGET: check-aux + RUST_CHECK_TARGET: check-aux AUX_ARGS="--exclude src/tools/cargotest --exclude src/tools/cargo" + RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc + - MSYS_BITS: 64 + SCRIPT: python x.py test src/tools/cargotest src/tools/cargo RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc # MSVC tools tests diff --git a/src/bootstrap/mk/Makefile.in b/src/bootstrap/mk/Makefile.in index 925a361f0b2..97ea792c780 100644 --- a/src/bootstrap/mk/Makefile.in +++ b/src/bootstrap/mk/Makefile.in @@ -60,6 +60,7 @@ check-aux: src/test/run-pass-valgrind/pretty \ src/test/run-pass-fulldeps/pretty \ src/test/run-fail-fulldeps/pretty \ + $(AUX_ARGS) \ $(BOOTSTRAP_ARGS) check-bootstrap: $(Q)$(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap_test.py diff --git a/src/ci/run.sh b/src/ci/run.sh index 3be1c255c16..79300e08a7d 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -104,7 +104,7 @@ else travis_fold start "make-$1" travis_time_start echo "make -j $ncpus $1" - make -j $ncpus "$1" + make -j $ncpus $1 local retval=$? travis_fold end "make-$1" travis_time_finish