about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
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
2017-07-05Switch to rust-lang-nursery/compiler-builtinsAlex Crichton-3/+4
This commit migrates the in-tree `libcompiler_builtins` to the upstream version at https://github.com/rust-lang-nursery/compiler-builtins. The upstream version has a number of intrinsics written in Rust and serves as an in-progress rewrite of compiler-rt into Rust. Additionally it also contains all the existing intrinsics defined in `libcompiler_builtins` for 128-bit integers. It's been the intention since the beginning to make this transition but previously it just lacked the manpower to get done. As this PR likely shows it wasn't a trivial integration! Some highlight changes are: * The PR rust-lang-nursery/compiler-builtins#166 contains a number of fixes across platforms and also some refactorings to make the intrinsics easier to read. The additional testing added there also fixed a number of integration issues when pulling the repository into this tree. * LTO with the compiler-builtins crate was fixed to link in the entire crate after the LTO process as these intrinsics are excluded from LTO. * Treatment of hidden symbols was updated as previously the `#![compiler_builtins]` crate would mark all symbol *imports* as hidden whereas it was only intended to mark *exports* as hidden.
2017-06-24Restore old emscripten.sh for use by asmjsThomas Lively-23/+76
2017-06-23Add Target (de)serialization for environment varsThomas Lively-1/+1
Also turn WebAssembly backend back on in its builder.
2017-06-22Add wasm32-experimental-emscripten to wasm builderThomas Lively-18/+28
This modifies the builder to download and use the LLVM tools from the last known good build on the WebAssembly buildbot waterfall, since these tools are built with the WebAssembly LLVM backend enabled.
2017-06-22Make wasm32 buildbot test LLVM backendThomas Lively-4/+7
This adds the experimental targets option to configure so it can be used by the builders and changes the wasm32 Dockerfile accordingly. Instead of using LLVM from the emsdk, the builder's emscripten tools now uses the Rust in-tree LLVM, since this is the one built with wasm support.
2017-06-16Auto merge of #42631 - malbarbo:wasm32, r=alexcrichtonbors-94/+159
Add a travis builder for wasm32-unknown-emscripten This commits add an entry to travis matrix that will execute wasm32-unknown-emscripten tests suites. - Emscripten for asmjs was updated to sdk-1.37.13-64bit - The tests are run with node 8.0.0 (it can execute wasm) - A wrapper script is used to run each test from the directory where it is (workaround for https://github.com/kripken/emscripten/issues/4542) - Some tests are ignore, see #42629 and #42630
2017-06-15Use --depth to speed up pristine submodule cloningAidan Hobson Sayers-35/+4
In addition, remove all the unused cache stuff
2017-06-13Disable wasm32 imageMarco A L Barbosa-0/+0
2017-06-13Make tidy happyMarco A L Barbosa-1/+1
2017-06-13Add missing emscripten.sh fileMarco A L Barbosa-0/+53
2017-06-13Add docker image for wasm32-unknown-emscriptenMarco A L Barbosa-94/+106
- rename emscripten docker image to asmjs - create wasm32 docker image
2017-06-06Enable profiler selectively on some buildersMarco Castelluccio-4/+5
2017-06-06Spell profiler option correctly...Marco Castelluccio-1/+1
2017-06-05Enable profiler on all buildersMarco Castelluccio-0/+1
2017-06-02Quiet tests on PR testsMark Simulacrum-0/+5
2017-06-02ci: Improve log output (mainly Travis).kennytm-7/+83
* Bring back colors on Travis, which was disabled since #39036. Append --color=always to cargo when running in CI environment. * Removed `set -x` in the shell scripts. The `retry` function already prints which command it is running, add `-x` just add noise to the output. * Support travis_fold/travis_time. Matching pairs of these allow Travis CI to collapse the output in between. This greatly cut down the unnecessary "successful" output one need to scroll through before finding the failed statement.
2017-05-28Auto merge of #42218 - venkatagiri:update_cross, r=alexchrichtonbors-24/+62
use shared scripts for init and sccache in cross image cc #42201 cc @malbarbo
2017-05-26ci: move musl install into their own scriptsVenkata Giri Reddy-16/+52
2017-05-25Update OpenSSL download locationAlex Crichton-4/+6
In rustbuild itself we download from our mirror but in the containers we don't do this yet. The OpenSSL download url changes from time to time (it breaks when they release a new version) so let's download from our mirror instead.
2017-05-25use shared scripts for init and sccache in cross imageVenkata Giri Reddy-8/+10
2017-05-25Hack around abysmally slow llvm clonesAidan Hobson Sayers-0/+10
2017-05-18ci: fix dist-powerpc-linux imageMarco A L Barbosa-2/+2
2017-05-18ci: add filesystem layout docsMarco A L Barbosa-0/+6
2017-05-18ci: move shared scripts to src/ci/docker/scripts/Marco A L Barbosa-20/+20
2017-05-17ci: allows shared scriptsMarco A L Barbosa-260/+237
2017-05-12Update sccache binaries to mozilla/sccache@d3627d766Alex Crichton-39/+39
This commit updates the sccache binaries to fix a cache load failure seen on #41926, fixed by mozilla/sccache#119
2017-05-11Auto merge of #41864 - malbarbo:android-docker, r=alexcrichtonbors-5/+284
Add disabled android host builders Introduce the concept of disabled builder. A disabled builder is one that is not run by travis. It is intended to be run by the user who wants a rustc for a tier 2 or 3 platform. Off corse, there is no guarantee that it will work.
2017-05-09Add disabled android host buildersMarco A L Barbosa-5/+284
2017-05-09ci: Update android ndk and sdkMarco A L Barbosa-118/+138