summary refs log tree commit diff
path: root/src/ci/docker
AgeCommit message (Collapse)AuthorLines
2017-11-04Change powerpc64le's Centos base URL to vault.centos.org.kennytm-1/+1
The previous base URL at mirror.centos.org no longer provides packages for 7.3.1611. It has been moved to vault.centos.org.
2017-10-31ci: Upgrade Android SDK/NDK and refactor to use sdkmanager/avdmanager.kennytm-48/+66
* SDK tools is upgraded to 27.0.0. - Refactored to use `sdkmanager`/`avdmanager` instead of the deprecated `android` tool. * The Java version used by Android SDK is downgraded to OpenJDK-8, in order to download the SDK through HTTPS. * NDK is upgrade to r15c. - Dropped support for android-9 (2.3 / Gingerbread), the minimal supported version is now android-14 (4.0 / Ice Cream Sandwich). - Changed the default Android compiler from GCC to clang. - For details of change introduced by NDK r15, see https://github.com/android-ndk/ndk/wiki/Changelog-r15.
2017-10-22Remove tabsbgermann-2/+2
(cherry picked from commit 0597bdabff5b8ee2d966c90b1836d67631327787)
2017-10-22Make Solaris builder compatible with Solaris 10 retrybgermann-14/+14
Unfortunately, #45255 does not quite cut it, so use a different approach to have Solaris 10 compatibility by tricking libbacktrace's autoconf tests. The sysroot download routine is slightly changed, too. (cherry picked from commit b3ea6e5fc548fd03f1902f9abfe4e3f11d426d39)
2017-10-15Make Solaris builder compatible with Solaris 10bgermann-15/+19
2017-10-12ci: Fix installing the Android SDKAlex Crichton-1/+1
Apparently the https urls are broken due to some certificate validation whatnots, and so far the least intrusive solution I've found is to just disable that.
2017-10-05Add libsocket and libresolv to Solaris builderbgermann-0/+4
2017-10-05Fix CC for solaris environmentsbgermann-2/+2
2017-10-05Merge dist-solaris with cross2 builderbgermann-61/+28
2017-10-05Rename dist-fuchsia builder to cross2bgermann-0/+0
2017-10-03Add build environment for Solarisbgermann-0/+143
This can be used to build rust-std. The dilos illumos distribution was chosen, because illumos is free software as opposed to Oracle Solaris and dilos is the only illumos distribution that supports x86_64 and sparcv9 at the same level.
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-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-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-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!