about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2017-04-29ci: Update sccache buildAlex Crichton-34/+34
Pulls in mozilla/sccache@ef0d77543 to fix #40240 again after the builds included in #41447 forgot to include the mio fixed included in #41076. Closes #40240
2017-04-27appveyor: Use Ninja/sccache on MSVCAlex Crichton-34/+34
Now that the final bug fixes have been merged into sccache we can start leveraging sccache on the MSVC builders on AppVeyor instead of relying on the ad-hoc caching strategy of trigger files and whatnot.
2017-04-27travis: Update sccache build usedAlex Crichton-34/+34
This build is no longer a forked version with temporary bugfixes, everything should be upstreamed!
2017-04-24Auto merge of #40123 - TimNN:llvm40, r=alexcrichtonbors-5/+5
LLVM 4.0 Upgrade Since nobody has done this yet, I decided to get things started: **Todo:** * [x] push the relevant commits to `rust-lang/llvm` and `rust-lang/compiler-rt` * [x] cleanup `.gitmodules` * [x] Verify if there are any other commits from `rust-lang/llvm` which need backporting * [x] Investigate / fix debuginfo ("`<optimized out>`") failures * [x] Use correct emscripten version in docker image --- Closes #37609. --- **Test results:** Everything is green 🎉
2017-04-23FIN: update emscripten builderTim Neumann-5/+5
2017-04-20Add x86_64-linux-android targetMarco A L Barbosa-3/+11
2017-04-16Auto merge of #41157 - aidanhs:aphs-debug-appveyor-cache, r=TimNNbors-0/+2
Add a comment for disabling errexit, try to debug appveyor cache Comments added as requested. Also, lets add some cache debugging to appveyor. I *think* this is how to ignore errors in cmd.exe (and I did try it on my own machine), but I'm not 100% sure how appveyor runs them. In the worst case it'll fail but I guess that isn't the end of the world since the build has already failed by this point. r? @TimNN
2017-04-14Add a comment for disabling errexitAidan Hobson Sayers-0/+2
2017-04-12travis: Enable rust-analysis package for more targetsAlex Crichton-3/+7
This commit enables the `rust-analysis` package to be produced for all targets that are part of the `dist-*` suite of docker images on Travis. Currently these packages are showing up with `available = false` in the `channel-rust-nightly.toml` manifest where we'd prefer to have them show up for all targets. Unfortunately rustup isn't handling the `available = false` section well right now, so this should also inadvertently fix the nightly regression.
2017-04-12Auto merge of #40584 - nrc:rls-submod, r=alexcrichtonbors-1/+0
Add the RLS as a submodule and build a package out of it r? @brson (and cc @alexcrichton) Please review closely, I am not at all convinced I've done the right things here. I did run `x.py dist` and it makes an rls package which looks right to my eyes, but I haven't tested on non-linux platforms nor am I really sure what it should look like. This does not attempt to run tests for the RLS yet.
2017-04-11Rollup merge of #41231 - TimNN:fix-centos, r=frewsxcvCorey Farwell-2/+2
Use correct vault URL in CentOS images r? @frewsxcv
2017-04-11use correct vault urlTim Neumann-2/+2
2017-04-11Make sccache a bit quieterAidan Hobson Sayers-1/+0
2017-04-10Remove --enable-save-analysis configure flagNick Cameron-1/+0
2017-04-08Auto merge of #41147 - aidanhs:aphs-fix-appveyor-cache, r=TimNNbors-1/+3
Disable errexit for sanity checking git repo Unblock appveyor
2017-04-07Disable errexit for sanity checking git repoAidan Hobson Sayers-1/+3
2017-04-07Auto merge of #41138 - frewsxcv:rollup, r=frewsxcvbors-24/+82
Rollup of 9 pull requests - Successful merges: #40797, #41047, #41056, #41061, #41075, #41080, #41120, #41130, #41131 - Failed merges:
2017-04-07Rollup merge of #41130 - petrhosek:fuchsia-ci-upstream, r=alexcrichtonCorey Farwell-12/+64
travis: Use upstream LLVM repositories for Fuchsia The Fuchsia copies of LLVM repositories contain additional patches for work-in-progress features and there is some amount of churn that may break Rust. Use upstream LLVM repositories instead for building the toolchain used by the Fuchsia builder.
2017-04-07Rollup merge of #41080 - cuviper:generic-powerpc, r=alexcrichtonCorey Farwell-10/+5
dist-powerpc-linux: use a pure 32-bit CPU profile With `-mcpu=power4`, code might use instructions like `fcfid`, excluding older CPUs like the PowerPC G4, which apparently some users would like to use. The generic `-mcpu=powerpc` should stick to pure 32-bit PowerPC instructions. Fixes rust-lang/cargo#3852.
2017-04-07Rollup merge of #41075 - aidanhs:aphs-enable-appveyor-cache, r=alexcrichtonCorey Farwell-2/+13
Re-enable appveyor cache After breaking the queue last time, I'm cautiously back with a PR to re-enable caching on appveyor. If you look at https://ci.appveyor.com/project/rust-lang/rust/build/1.0.2623/job/46o90by4ari6gege (one of the multiple runs that started failed, there are actually two errors - one for restoring the cache, one right at the bottom for creating a directory. I only noticed the restore error at the time as I was a bit rushed to revert and didn't stop to wonder why it continued - turns out appveyor [does not abort on cache restore failure](https://github.com/appveyor/ci/issues/723). Turns out the cause of the build failures was the cache directory existing and me being thinking that because mkdir on windows is [recursive by default](http://stackoverflow.com/a/905239/2352259), it ignores the error if the directory already exists. Apparently this is not true, so now it checks if the directory exists before attempting to create. In addition, I've added some more paranoia to double check everything is sane.
2017-04-07Auto merge of #40971 - malbarbo:android-emulator-64, r=alexcrichtonbors-4/+6
Use 64 bits emulator to run android tests Also install headless jre instead of the full jre.
2017-04-06travis: Use upstream LLVM repositories for FuchsiaPetr Hosek-12/+64
The Fuchsia copies of LLVM repositories contain additional patches for work-in-progress features and there is some amount of churn that may break Rust. Use upstream LLVM repositories instead for building the toolchain used by the Fuchsia builder.
2017-04-06Rollup merge of #41089 - alexcrichton:update-musl, r=brsonCorey Farwell-4/+7
travis: Update musl for i686/x86_64 This is a random stab towards #38618, no idea if it'll work. But hey more up-to-date software is better, right?
2017-04-05travis: Update musl for i686/x86_64Alex Crichton-4/+7
This is a random stab towards #38618, no idea if it'll work. But hey more up-to-date software is better, right?
2017-04-05dist-powerpc-linux: use a pure 32-bit CPU profileJosh Stone-10/+5
With `-mcpu=power4`, code might use instructions like `fcfid`, excluding older CPUs like the PowerPC G4, which apparently some users would like to use. The generic `-mcpu=powerpc` should stick to pure 32-bit PowerPC instructions. Fixes rust-lang/cargo#3852.
2017-04-04travis: Update sccache binariesAlex Crichton-34/+34
I've tracked down what I believe is the last spurious sccache failure on #40240 to behavior in mio (carllerche/mio#583), and this commit updates the binaries to a version which has that fix incorporated.
2017-04-04Enable appveyor cache, add more paranoiaAidan Hobson Sayers-2/+13
2017-04-04fix rollupTim Neumann-0/+6
2017-04-04Merge remote-tracking branch 'hub/centos5-vault' into rollupTim Neumann-0/+6
2017-04-03use fixed ip for vault.centos.org until updates have propagated to all mirrorsTim Neumann-1/+1
2017-04-03switch to vault.centos.orgTim Neumann-0/+6
2017-04-03travis: Split all dist builders in twoAlex Crichton-61/+983
Previously we would use one builder on Travis to produce two sets of host compilers for two different targets. Unfortunately though we've recently increased how much we're building for each target so this is starting to take unnecessarily long (#40804). This commit splits the dist builders in two by ensuring that we only dist one target on each builder, which should take a much shorter amount of time. This should also unblock other work such as landing the RLS (#40584).
2017-03-31Use 64 bits emulator to run android testsMarco A L Barbosa-4/+6
Also install headless jre instead of the full jre.
2017-03-29Rollup merge of #40780 - aidanhs:aphs-cache-git-modules, r=alexcrichtonCorey Farwell-3/+78
Attempt to cache git modules Partial resolution of #40772, appveyor remains to be done once travis looks like it's working ok. The approach in this PR is based on the `--reference` flag to `git-clone`/`git-submodule --update` and is a compromise based on the current limitations of the tools we're using. The ideal would be: 1. have a cached pristine copy of rust-lang/rust master in `$HOME/rustsrc` with all submodules initialised 2. clone the PR branch with `git clone --recurse-submodules --reference $HOME/rustsrc git@github.com:rust-lang/rust.git` This would (in the nonexistent ideal world) use the pristine copy as an object cache for the top level repo and all submodules, transferring over the network only the changes on the branch. Unfortunately, a) there is no way to manually control the initial clone with travis and b) even if there was, cloned submodules don't use the submodules of the reference as an object cache. So the steps we end up with are: 1. have a cached pristine copy of rust-lang/rust master in `$HOME/rustsrc` with all submodules initialised 2. have a cloned PR branch 3. extract the path of each submodule, and explicitly `git submodule update --init --reference $HOME/rustsrc/$module $module` (i.e. point directly to the location of the pristine submodule repo) for each one I've also taken some care to make this forward compatible, both for adding and removing submodules. r? @alexcrichton
2017-03-29Minor tweaks to retry utilityAidan Hobson Sayers-3/+6
2017-03-29Attempt to cache git modulesAidan Hobson Sayers-0/+72
2017-03-26Auto merge of #40809 - alexcrichton:update-sccache-again, r=alexcrichtonbors-26/+26
travis: Update sccache again Looks like the last version was built with mio 0.6.5 which now has known bugs against it. This build includes mio 0.6.6
2017-03-25fix permissions of emsdk_portableTim Neumann-0/+4
2017-03-25travis: try to fix the build on emscriptenAriel Ben-Yehuda-1/+14
The emsdk-portable .tar.gz now extracts to emsdk-portable instead of emsdk_portable. Handle that.
2017-03-24travis: Update sccache againAlex Crichton-26/+26
Looks like the last version was built with mio 0.6.5 which now has known bugs against it. This build includes mio 0.6.6
2017-03-23travis: Update sccache binaryAlex Crichton-26/+26
2017-03-23travis: Delay sccache downloads in dockerAlex Crichton-21/+21
Let's have this layer be towards the end as we're emprically changing sccache more than we're changing the rest of the image, so this'll allow us to reuse as much of the cached image as possible.
2017-03-23Auto merge of #40758 - frewsxcv:rollup, r=frewsxcvbors-107/+70
Rollup of 5 pull requests - Successful merges: #40612, #40627, #40668, #40715, #40753 - Failed merges:
2017-03-23Rollup merge of #40612 - TimNN:new-netbsd-cross, r=alexcrichtonCorey Farwell-107/+70
Use the "official" cross compiler for NetBSD The current NetBSD cross compiler is lacking, for example `std::thread` is not available (which causes problems for LLVM 4.0). This PR uses the official netbsd build system to compiler the cross compiler. @alexcrichton: Can you please mirror `ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-7.0/source/sets/{src,gnusrc,sharesrc,syssrc}.tgz`. (Optionally you may want to use NetBSD versions 7.0.2 or 7.1, in that case you'll probably want to update the binary downloads used today as well). I'll update the URL's afterwards (or feel free to use "allow edits from maintainers"). r? @alexcrichton
2017-03-23Auto merge of #40605 - alexcrichton:add-stamps, r=brsonbors-1/+0
travis: Add timestamps to all build messages When debugging why builds are taking so long it's often useful to get the timestamp of all log messages as we're not always timing every tiny step of the build. I wrote a [utility] for prepending a relative timestamp from the start of a process which is now downloaded to the builders and is what we wrap the entire build invocation in. [utility]: https://github.com/alexcrichton/stamp-rs Closes #40577
2017-03-21travis: Don't enable quiet testsAlex Crichton-1/+0
This makes travis problems more difficult to debug, so let's just enable more verbose logging.
2017-03-21dist-x86-linux: ugrade gcc to 4.8.5Tim Neumann-5/+8
2017-03-21include compiler hash in wrapper scriptsTim Neumann-0/+6
2017-03-21Switch to rust-lang-ci mirror URLsAlex Crichton-7/+7
2017-03-21ci/netbsd: use the "official" cross compilerTim Neumann-100/+57