about summary refs log tree commit diff
path: root/src/ci/docker
AgeCommit message (Collapse)AuthorLines
2018-08-01[RISCV] Enable CI.David Craven-0/+1
2018-07-29Test clippy first to workaround the derive-new conflict.kennytm-1/+2
2018-07-26Omit the vendor component in Fuchsia triplePetr Hosek-13/+13
Previously, using unknown as the vendor value would lead to the same result, but with the multiarch runtimes support in Clang, the target is now used to locate the runtime libraries and so the format is important. The denormalized format with omitted vendor component is the format we use with Clang and should be using for Rust as well.
2018-07-25Auto merge of #52561 - ljedrz:fixme_cc_271, r=alexcrichtonbors-7/+1
Remove obsolete armv5te vars from the dist-various-1 Dockerfile The [related cc issue](https://github.com/alexcrichton/cc-rs/issues/271) is closed and its changes are in force.
2018-07-24Rollup merge of #52538 - ljedrz:old_musl_i586_flags, r=kennytmkennytm-3/+1
Remove obsolete flags in the i586_musl Dockerfile Resolves an [outdated FIXME](https://github.com/rust-lang/rust/blob/ab8b961677ac5c74762dcea955aa0ff4d7fe4915/src/ci/docker/dist-i586-gnu-i586-i686-musl/Dockerfile#L45) in the Dockerfile for dist-i586-gnu-i586-i686-musl.
2018-07-22Rollup merge of #52465 - sekineh:add-ci-thumb, r=alexcrichtonkennytm-1/+8
Add CI test harness for `thumb*` targets. [IRR-2018-embedded] This pull request will do the following (rather trivial) changes: - Fix #52163. In other words, we enabled `./x.py test src/test/run-make` for `no_std` targets. - Modify `dist-various-1` Dockerfile. - CI now performs `run-make` test run on the targets below: - `thumbv6m-none-eabi` - `thumbv7m-none-eabi` - `thumbv7em-none-eabi` - `thumbv7em-none-eabihf`. - ~~Add `thumb-none` Dockerfile.~~ - ~~Initially, `thumbv7m-none-eabi`, `thumbv7em-none-eabi` and `thumbv7em-none-eabihf` are included as the tested target. `thumbv6m-none-eabi` is disabled for now because LLVM support is not certain.~~ - ~~Add `thumb-none` to .travis.yml~~ Note: - `run-make` tests are not implemented yet. This PR is test harness only. The amount of change is very small, but I'd like to open the pull request while the change is trivial. Because I'm not very used to pull request process, I want to make a small progress first. This PR will be a foundation for later additions. CC @kennytm @jamesmunns @nerdyvaishali
2018-07-20Remove obsolete armv5te vars from the dist-various-1 Dockerfileljedrz-7/+1
2018-07-19Fix docker/run.sh script when run locallyAlex Crichton-1/+1
Switch a `mkdir $foo` to `mkdir -p $foo` to handle the case that this script is being run locally and has previously executed.
2018-07-19Remove obsolete flags in the i586_musl Dockerfileljedrz-3/+1
2018-07-18Re-include `thumbv6m-none-eabi` to `run-make` targetHideki Sekine-2/+2
2018-07-18Use `dist-various-1` Dockerfile.Hideki Sekine-35/+8
2018-07-18Cleanup Dockerfile.Hideki Sekine-79/+0
2018-07-18Adjust TARGETS.Hideki Sekine-18/+3
2018-07-17Block beta if clippy breaks.kennytm-7/+9
Don't fail master pull request when an unrelated tool is not test-pass.
2018-07-13Enabled core dump on Linux, and print stack trace on failure.kennytm-0/+1
2018-07-09bump minimum LLVM version to 5.0gnzlbg-2/+2
2018-07-08Remove the comment line that harmed.Hideki Sekine-1/+0
2018-07-08Tweak to run test for thumbv7m target.Hideki Sekine-18/+20
2018-07-08Create Dockerfile based on dist-various-1.Hideki Sekine-0/+127
2018-07-05Update musl to 1.1.19 and add patch to fix tls issueMarco A L Barbosa-1/+7
2018-07-03Fix the tool's path in toolstate verification.kennytm-4/+4
This ensure we do block the tools when they are broken during an update.
2018-06-15Fix checkregression breakage of toolstate builder on AppVeyor.kennytm-1/+1
2018-06-10Do not push a commit if the toolstate is unchanged.kennytm-12/+27
This should greatly reduce the commits on the rust-toolstate repository. `publish_toolstate.py` defaults to keep the old status if a new one is not found, so nothing needs to be changed to that file.
2018-06-08Use public DNS server instead of 169.254.169.254 on CI.kennytm-0/+4
Tries to workaround travis-ci/travis-ci#9696.
2018-05-18armebv7r-none-eabihf: default to ARM modePaolo Teti-1/+1
- remove +thumb2 that has not effect - remove -mthumb Tested on TMS570LS3137
2018-05-16Add target for Big-endian ARM Cortex-R4F/R5F MCUsPaolo Teti-0/+36
The ARM Real-Time (‘R’) profile provides high-performing processors for safety-critical environments.
2018-05-15Rollup merge of #50685 - glaubitz:sparc64-linux, r=alexcrichtonGuillaume Gomez-0/+26
ci: Add Dockerfile for dist-sparc64-linux This addresses https://github.com/rust-lang/rust/issues/47903.
2018-05-15ci: Add Dockerfile for dist-sparc64-linuxJohn Paul Adrian Glaubitz-0/+26
2018-05-14Migrate the toolstate update bot to rust-highfivekennytm-1/+1
2018-05-13Auto merge of #50573 - oli-obk:tool_sanity, r=kennytmbors-11/+33
Don't require clippy/miri for beta r? @kennytm cc @alexcrichton I'm trying this out locally atm to see if it works as I think it should. Not sure how to test it for real except wait for the next beta. fixes #50557
2018-05-10Rollup merge of #50606 - kennytm:retry-docker-cache, r=alexcrichtonAlex Crichton-1/+3
Retry when downloading the Docker cache. As a safety measure, prevent spuriously needing to rebuild the docker image in case the network was reset while downloading. Also, adjusted the retry function to insert a sleep between retries, because retrying immediately will often just hit the same issue.
2018-05-10Retry when downloading the Docker cache.kennytm-1/+3
Prevent spuriously needing to rebuild the docker image when the network was down. Also, adjusted the retry function to insert a sleep between retries, because retrying immediately will often just hit the same issue.
2018-05-09ci: Compile LLVM with Clang 6.0.0Alex Crichton-301/+114
Currently on CI we predominately compile LLVM with the default system compiler which means gcc on Linux, some version of Clang on OSX, MSVC on Windows, and gcc on MinGW. This commit switches Linux, OSX, and Windows to all use Clang 6.0.0 to build LLVM (aka the C/C++ compiler as part of the bootstrap). This looks to generate faster code according to #49879 which translates to a faster rustc (as LLVM internally is faster) The major changes here were to the containers that build Linux releases, basically adding a new step that uses the previous gcc 4.8 compiler to compile the next Clang 6.0.0 compiler. Otherwise the OSX and Windows scripts have been updated to download precompiled versions of Clang 6 and configure the build to use them. Note that `cc` was updated here to fix using `clang-cl` with `cc-rs` on MSVC, as well as an update to `sccache` on Windows which was needed to correctly work with `clang-cl`. Finally the MinGW compiler is entirely left out here intentionally as it's currently thought that Clang can't generate C++ code for MinGW and we need to use gcc, but this should be verified eventually.
2018-05-09Document the checktools scriptOliver Schneider-0/+7
2018-05-09Don't require clippy/miri for betaOliver Schneider-11/+26
2018-05-05Auto merge of #50444 - michaelwoerister:check-parallel-queries-in-ci, ↵bors-1/+2
r=alexcrichton Add a CI job that makes sure rustc builds with parallel queries enabled. This shouldn't take up too much CI time `:)` cc https://github.com/rust-lang/rust/issues/48607 cc @Zoxc r? @alexcrichton
2018-05-04Merge armv5te musl container with dist-various-1Harm Berntsen-48/+9
2018-05-04Add eabi suffix to armv5te musl targetHarm Berntsen-3/+3
2018-05-04Check that rustc can be built successfully with parallel queries for PRs.Michael Woerister-1/+2
2018-05-03Add armv5te-unknown-linux-musl targetHarm Berntsen-0/+47
2018-04-23Fix the miri toolOliver Schneider-1/+1
2018-04-16Auto merge of #49488 - alexcrichton:small-wasm-panic, r=sfacklerbors-0/+6
std: Minimize size of panicking on wasm This commit applies a few code size optimizations for the wasm target to the standard library, namely around panics. We notably know that in most configurations it's impossible for us to print anything in wasm32-unknown-unknown so we can skip larger portions of panicking that are otherwise simply informative. This allows us to get quite a nice size reduction. Finally we can also tweak where the allocation happens for the `Box<Any>` that we panic with. By only allocating once unwinding starts we can reduce the size of a panicking wasm module from 44k to 350 bytes.
2018-04-14Rollup merge of #49866 - Mark-Simulacrum:pr-travis-windows, r=alexcrichtonkennytm-0/+22
Cross-compile builder to Windows for PRs on Travis I chose a completely arbitrary windows target here (I have no idea what's best, we could do multiple -- they are relatively fast).
2018-04-13std: Minimize size of panicking on wasmAlex Crichton-0/+6
This commit applies a few code size optimizations for the wasm target to the standard library, namely around panics. We notably know that in most configurations it's impossible for us to print anything in wasm32-unknown-unknown so we can skip larger portions of panicking that are otherwise simply informative. This allows us to get quite a nice size reduction. Finally we can also tweak where the allocation happens for the `Box<Any>` that we panic with. By only allocating once unwinding starts we can reduce the size of a panicking wasm module from 44k to 350 bytes.
2018-04-12Add check builder for Windows to TravisMark Simulacrum-0/+22
2018-04-12Auto merge of #49698 - SimonSapin:unicode-for-everyone, r=alexcrichtonbors-1/+0
Merge the std_unicode crate into the core crate [The standard library facade](https://github.com/rust-lang/rust/issues/27783) has historically contained a number of crates with different roles, but that number has decreased over time. `rand` and `libc` have moved to crates.io, and [`collections` was merged into `alloc`](https://github.com/rust-lang/rust/pull/42648). Today we have `core` that applies everywhere, `std` that expects a full operating system, and `alloc` in-between that only requires a memory allocator (which can be provided by users)… and `std_unicode`, which doesn’t really have a reason to be separate anymore. It contains functionality based on Unicode data tables that can be large, but as long as relevant functions are not called the tables should be removed from binaries by linkers. This deprecates the unstable `std_unicode` crate and moves all of its contents into `core`, replacing them with `pub use` reexports. The crate can be removed later. This also removes the `CharExt` trait (replaced with inherent methods in libcore) and `UnicodeStr` trait (merged into `StrExt`). There traits were both unstable and not intended to be used or named directly. A number of new items are newly-available in libcore and instantly stable there, but only if they were already stable in libstd. Fixes #49319.
2018-04-12Deprecate the std_unicode crateSimon Sapin-1/+0
2018-04-10Add --enable-debug flag to musl CI build scriptAlec Mocatta-1/+1
Building for x86_64-unknown-linux-musl currently results in an executable lacking debug information for musl libc itself. If you request a backtrace in GDB while control flow is within musl – including sycalls made by musl – the result looks like: #0 0x0000000000434b46 in __cp_end () #1 0x0000000000432dbd in __syscall_cp_c () #2 0x0000000000000000 in ?? () i.e. not very helpful. Adding --enable-debug resolves this, and --enable-optimize re-enables optimisations which default to off given the previous flag.
2018-04-06Give a name to every CI job.kennytm-0/+1
Bots that read the log can simply look for `[CI_JOB_NAME=...]` to find out the job's name.
2018-04-05Rollup merge of #49674 - alexcrichton:no-incremental-rustc, r=michaelwoeristerkennytm-22/+0
ci: Remove x86_64-gnu-incremental builder This builder is starting to time out frequently causing PRs to bounce and otherwise doesn't seem to be catching too many bugs, so this commit removes it entirely. We've had a number of timeouts in the last few weeks related to this builder: * https://travis-ci.org/rust-lang/rust/jobs/360947582 * https://travis-ci.org/rust-lang/rust/jobs/360464190 * https://travis-ci.org/rust-lang/rust/jobs/359946975 * https://travis-ci.org/rust-lang/rust/jobs/361213241 * https://travis-ci.org/rust-lang/rust/jobs/362346279 * https://travis-ci.org/rust-lang/rust/jobs/362072331 On a good run this builder takes about 2h15m, which is already too long for Travis and the variable build times end up pushing it beyond the 3h limit occasionally. The timeouts here are somewhat expected in that an incrementally compiled rustc compiler isn't optimized like a normal rustc, disallowing inlining between codegen units and losing lots of optimization opportunities.