about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2017-09-29Rollup merge of #44903 - kallisti5:ci-build-disabled, r=aidanhsMark Simulacrum-5/+7
ci: Fix building disabled containers * Change the context into the disabled directory. Now you can test containers which are disabled.
2017-09-28ci: Fix building disabled containersAlexander von Gluck IV-5/+7
* Change the context into the disabled directory. Now you can test containers which are disabled.
2017-09-28Auto merge of #44779 - tjkirch:master, r=alexcrichtonbors-1/+31
Add aarch64-unknown-linux-musl target This adds support for the aarch64-unknown-linux-musl target in the build and CI systems. This addresses half of issue #42520. The new file `aarch64_unknown_linux_musl.rs` is a copy of `aarch64_unknown_linux_gnu.rs` with "gnu" replaced by "musl", and the added logic in `build-arm-musl.sh` is similarly a near-copy of the arches around it, so overall the changes were straightforward. Testing: ``` $ sudo ./src/ci/docker/run.sh cross ... Dist std stage2 (x86_64-unknown-linux-gnu -> aarch64-unknown-linux-musl) Building stage2 test artifacts (x86_64-unknown-linux-gnu -> aarch64-unknown-linux-musl) Compiling getopts v0.2.14 Compiling term v0.0.0 (file:///checkout/src/libterm) Compiling test v0.0.0 (file:///checkout/src/libtest) Finished release [optimized] target(s) in 16.91 secs Copying stage2 test from stage2 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / aarch64-unknown-linux-musl) ... Build completed successfully in 0:55:22 ``` ``` $ rustup toolchain link local obj/build/x86_64-unknown-linux-gnu/stage2 $ rustup default local ``` After setting the local toolchain as default, and adding this in ~/.cargo/config: ``` [target.aarch64-unknown-linux-musl] linker = "aarch64-linux-musl-gcc" ``` ...then the toolchain was able to build a working ripgrep as a test: ``` $ readelf -a target/aarch64-unknown-linux-musl/debug/rg | grep -i interpreter $ readelf -a target/aarch64-unknown-linux-musl/debug/rg | grep NEEDED $ file target/aarch64-unknown-linux-musl/debug/rg target/aarch64-unknown-linux-musl/debug/rg: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=be11036b0988fac5dccc9f6487eb780b05186582, not stripped ```
2017-09-24Fix fuchsia toolchain prebuild setupJames Tucker-10/+14
* Adjust bootstrap to provide useful output on failure * Add missing package dependencies in the build environment * Fix permission bits on prebuilt toolchain files
2017-09-24ensure that prebuilt toolchain binaries are +xJames Tucker-0/+1
2017-09-24Re-add CMake packagePetr Hosek-0/+3
This appears to be needed by the Rust build.
2017-09-24Use Zircon's Clang rather than building our ownPetr Hosek-57/+19
This toolchain is already used to build Zircon itself and is the official Clang toolchain used by all Fuchsia developers.
2017-09-24Download clang-tools-extra as wellPetr Hosek-0/+1
2017-09-24Install unzip into Fuchsia Docker containerPetr Hosek-1/+2
2017-09-24Update Fuchsia toolchain buildPetr Hosek-103/+28
compiler-rt is now being built as part of the toolchain itself.
2017-09-24Updated Zircon version.P.Y. Laligand-1/+1
2017-09-24The Magenta kernel is now called Zircon.P.Y. Laligand-9/+9
2017-09-23add aarch64-unknown-linux-musl targetBen Cressey-1/+31
Signed-off-by: Ben Cressey <bcressey@amazon.com> Signed-off-by: Tom Kirchner <tjk@amazon.com>
2017-09-17Improve documentationOliver Schneider-1/+1
2017-09-17Get the miri test suite to run inside the rustc dev environmentOliver Schneider-1/+1
2017-09-17Rollup merge of #44617 - alexcrichton:download-from-us-west-1, r=aidanhsTim Neumann-6/+8
ci: Upload/download from a new S3 bucket Moving buckets from us-east-1 to us-west-1 because us-west-1 is where rust-central-station itself runs and in general is where we have all our other buckets.
2017-09-17Rollup merge of #44381 - jessicah:haiku-ci, r=alexcrichtonTim Neumann-0/+208
ci: introduce haiku x86_64 builder
2017-09-17Auto merge of #44641 - alexcrichton:disable-more-osx-assertions, ↵bors-1/+5
r=Mark-Simulacrum ci: Disable rustc debug assertions on OSX This commit disables debug assertions for OSX in an effort to improve cycle time on OSX. It looks like #44610 didn't shave off quite as much time as desired so let's see how much this helps.
2017-09-16ci: Disable rustc debug assertions on OSXAlex Crichton-1/+5
This commit disables debug assertions for OSX in an effort to improve cycle time on OSX. It looks like #44610 didn't shave off quite as much time as desired so let's see how much this helps.
2017-09-16ci: Upload/download from a new S3 bucketAlex Crichton-6/+8
Moving buckets from us-east-1 to us-west-1 because us-west-1 is where rust-central-station itself runs and in general is where we have all our other buckets.
2017-09-16ci: haiku: wrap lines as necessary for tidy.Jessica Hamilton-4/+41
2017-09-15ci: haiku: rename llvm-config to address tidy issues.Jessica Hamilton-1/+1
2017-09-15ci: move dist-x86_64-haiku into disabled.Jessica Hamilton-0/+0
2017-09-14travis: Move sccache to the us-west-1 regionAlex Crichton-6/+7
Most of the other rust-lang buckets are in us-west-1 and I think the original bucket was just accidentally created in the us-east-1 region. Let's consolidate by moving it to the same location as the rest of our buckets.
2017-09-06ci: introduce haiku x86_64 builderJessica Hamilton-0/+171
2017-08-29fix option for RUST_CONFIGURE_ARGS to be rust.ignore-git=falseJeremy Sorensen-1/+1
2017-08-29change option for RUST_CONFIGURE_ARGS to ignore-git=falseJeremy Sorensen-1/+1
2017-08-29add ignore-git=true option to RUST_CONFIGURE_ARGSJeremy Sorensen-1/+1
2017-08-26ci: Remove the need for `dumb-init`Alex Crichton-230/+2
Newer versions of Docker have a `--init` argument which spawns an init process in the container, which we should be able to use everywhere now.
2017-08-15Mark install-x86_64-redox.sh as executableJeremy Soller-0/+0
2017-08-14Move Redox Dockerfile to disabled directory :(Jeremy Soller-0/+0
2017-08-14Use scripts to reduce code sizeJeremy Soller-33/+23
2017-08-14Add redox build to crossJeremy Soller-6/+29
2017-08-14Add Redox DockerfileJeremy Soller-0/+42
2017-07-30rustbuild: Remove `--enable-llvm-clean-rebuild`Alex Crichton-1/+0
This was intended for bots back in the day where we'd persist caches of LLVM builds across runs, but nowadays we don't do that on any of the bots so this option is no longer necessary
2017-07-29Rollup merge of #43536 - alexcrichton:privileged, r=TimNNMark Simulacrum-0/+7
Flag docker invocations as --privileged on CI When upgrading to LLVM 5.0 it was found that the leak sanitizer tests were failing with fatal errors, but they were passing locally when run. Turns out it looks like they may be using new ptrace-like syscalls so the docker container now needs `--privileged` when executing to complete the test.
2017-07-29Flag docker invocations as --privileged on CIAlex Crichton-0/+7
When upgrading to LLVM 5.0 it was found that the leak sanitizer tests were failing with fatal errors, but they were passing locally when run. Turns out it looks like they may be using new ptrace-like syscalls so the docker container now needs `--privileged` when executing to complete the test.
2017-07-28rustbuild: Update cross-compilers for FreeBSDAlex Crichton-4/+4
When working through bugs for the LLVM 5.0 upgrade it looks like the FreeBSD cross compilers we're currently using are unable to build LLVM, failing with references to the function `std::to_string` claiming it doesn't exist. I don't actually know what this function is, but assuming that it was added in a more recent version of a C++ standard I've updated the gcc versions for the toolchains we're using. This made the error go away!
2017-07-26Auto merge of #42059 - derekdreery:bugfix/fix_emscripten_tests, r=alexcrichtonbors-19/+1
Make compiletest set cwd before running js tests Proposed fix for #38800. Not all tests pass yet - I will mention failures here once the test suite has finished.
2017-07-26Remove custom node scriptRichard Dodd-19/+1
2017-07-26Auto merge of #43226 - alexcrichton:aarch64-ci, r=aidanhsbors-2/+3187
Add a disabled builder for aarch64 emulated tests This commit adds a disabled builder which will run all tests for the standard library for aarch64 in a QEMU instance. Once we get enough capacity to run this on Travis this can be used to boost our platform coverage of AArch64
2017-07-25bootstrap: Major refactoringMilton Mazzarri-0/+6
This commit includes the following: * Fix syntax errors in Python 3 * Include more docstrings in classes, methods, and functions * Include unit tests using `unittest` * Merge implementation of `{rustc,cargo}_out_of_date` * Merge implementation of `RustBuild.{cargo,rustc}` * Remove unnecessary source code * Move all the attributes defined outside of `__init__` * Remove remaining `%s` from print function * Remove `WindowsError` reference on non-windows systems * Rename some variables to be more explicit avoid their meaning * Run bootstrap tests in the CI process * Remove non-pythonic getters * Remove duplicate code in `download_stage0` method * Reduce the number of branches in `build_bootstrap` method * Re-raise exception when we cannot execute uname in non-windows systems * Avoid long lines
2017-07-24Add a disabled builder for aarch64 emulated testsAlex Crichton-2/+3187
This commit adds a disabled builder which will run all tests for the standard library for aarch64 in a QEMU instance. Once we get enough capacity to run this on Travis this can be used to boost our platform coverage of AArch64
2017-07-18travis: Switch `curl -s` to `curl -f`Alex Crichton-8/+8
I seem to have been a little too tired when I fixed up the container scripts, applying the wrong flag!
2017-07-17travis: Make a few `curl` invocations more resilientAlex Crichton-11/+11
Use the `-f` flag to indicate that, for example, a 500 response code is to be considered a failure, triggering the normal retry logic. Also ignore errors where we check the date from google.com, as a failure there shouldn't fail the build.
2017-07-13Split old and experimental wasm buildersThomas Lively-29/+71
2017-07-12Updated docker images to factor out common scriptsTy Coghlan-711/+366
2017-07-07Auto merge of #43091 - aidanhs:aphs-no-docker-priv, r=alexcrichtonbors-1/+0
Privileged in docker run isn't necessary Added relatively recently in https://github.com/rust-lang/rust/pull/40199/files#diff-71609a365528e4649836825d8250c241R57, but I don't see anything in that PR that requires it. If it's not strictly necessary, we shouldn't use it. (if this lands I'll make a PR against libc which also uses privileged) r? @alexcrichton
2017-07-06Privileged in docker run isn't necessaryAidan Hobson Sayers-1/+0
2017-07-06Retry downloading llvm commit tarballAidan Hobson Sayers-1/+2