Commit Graph

101 Commits

Author SHA1 Message Date
Lzu Tao
396b7e2560 script: use --locked and remove verbose flag 2019-10-23 16:12:58 +07:00
Daniel Silverstone
c115fd2489 Merge pull request #2025 from lzutao/use-uname-to-determine-os
build: Use uname to determine OS
2019-09-27 15:54:18 +02:00
Lzu Tao
c4a8c9af40 build: Use uname to determine OS
`ci/run.bash` could run in docker environments, so there are no
TRAVIS_OS_NAME env.
2019-09-27 17:04:38 +07:00
Lzu Tao
586cac0d03 build: Upgrade sccache to 0.2.11 2019-09-27 15:23:48 +07:00
Daniel Silverstone
f78f49d797 deploy: Fix unset variable issue
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-07 11:22:58 +01:00
Daniel Silverstone
9eb2b44067 ci/run.bash: Fix sed expression
Some of our CI platforms couldn't cope with 'sed -E'

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-05 14:57:06 +01:00
Iku Iwasa
bfe137b0b9 ci: Add NetBSD target to build on Travis CI 2019-09-02 22:14:51 +09:00
Lzu Tao
28f00f3f2d build: Use rustc docker for android targets 2019-09-02 08:58:47 +07:00
Lzu Tao
0b0e220239 build: Update android tools to match rustc CI config
See rustc CI config in 99abdfa0b5/src/ci/docker/dist-android/Dockerfile (L9)
2019-09-02 08:58:43 +07:00
Lzu Tao
ac0463b1d3 build: Reduce time to build new docker images
By combining multiple ENV keys, we could reduce intermediate
layer that docker processes, hence the time it takes to build
new docker images reduced.
2019-08-29 14:48:49 +07:00
Lzu Tao
943b7b7ae7 build: Follow up cleanup and rename stuffs 2019-08-29 14:48:49 +07:00
Lzu Tao
7576ad5d53 build: Transform most ci scripts to bash 2019-08-29 14:48:49 +07:00
Daniel Silverstone
e882a6bed7 CI: Update run.sh and appveyor config for tests
In order that we might succeed in getting through our tests,
until we can properly diagnose and correct for whatever causes the
dist tests alone to fail in such spectacular ways, limit the dist
tests to a single thread to reduce the chance that they fail on
Windows CI.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-07-28 09:45:04 +01:00
Daniel Silverstone
8f6e937381 CI: Add support for .exe on deploy
We need EXE extension support in the deployment script so that
Windows can deploy rustup-init.exe and friends

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-06-13 10:24:41 -04:00
Daniel Silverstone
9d9a83748d travis.yml, ci/run.sh: Add Windows targets
Add experimental support for building Windows - uses git-bash
and friends.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-06-13 10:24:30 -04:00
Daniel Silverstone
a253f95ad5 Merge pull request #1883 from lzutao/s3-subdomain
Update all s3 URLs used on CI with subdomains
2019-06-03 09:00:53 +01:00
Lzu Tao
31be86f45d Update all s3 URLs used on CI with subdomains 2019-05-29 21:35:37 +07:00
Martell Malone
bc20830eff Add x86_64-unknown-linux-musl build support 2019-05-29 21:24:24 +07:00
Daniel Silverstone
64066faa85 Turn on backtraces to improve CI usefulness
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-26 17:22:34 +01:00
Lzu Tao
1661a4dd16 ci: Add default CC for some Tier-2 targets 2019-05-23 13:09:27 +07:00
Lzu Tao
69da5cb0c6 ci: Use rustc dockers on remain targets (except android) 2019-05-23 13:09:27 +07:00
Lzu Tao
25a34ba323 ci: Use rustc's FreeBSD images to overcome build failures 2019-05-22 18:51:02 +07:00
Lzu Tao
c1827049e7 ci: Add missing sccache to other build targets 2019-05-22 16:26:24 +07:00
Lzu Tao
e3bf8d3376 ci: Improve build time by caching with sccache 2019-05-05 21:05:41 +07:00
Daniel Silverstone
fd5f1c2404 Merge pull request #1829 from lzutao/skip-deploy
ci: Skip deployment stage for CentOS 6 build
2019-05-05 14:58:14 +01:00
Daniel Silverstone
a7460e28a2 Merge pull request #1815 from lzutao/rustc-docker
ci: Use rustc docker image for x86_64 and i686 linux
2019-05-05 14:57:20 +01:00
Daniel Silverstone
892dc98120 Merge pull request #1828 from rust-lang/deploysh
Add a script to automate most of the release process
2019-05-03 17:58:26 +01:00
Pietro Albini
8620089a35 add a script to automate most of the release process 2019-05-02 18:05:27 +02:00
Lzu Tao
2fdc59faa0 ci: Remove commented uploading rust docs script 2019-05-02 20:49:07 +07:00
Lzu Tao
684f976315 ci: Skip deploy stage for CentOS 6 build job 2019-05-02 20:48:21 +07:00
Daniel Silverstone
4578fcd0bb Travis: Skip deploy step on CentOS 6 test
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-02 08:28:19 +01:00
Lzu Tao
05632bf993 ci: Use rustc docker image for x86_64 and i686 linux 2019-05-02 03:13:15 +07:00
Daniel Silverstone
9b7c3334bd CI: Dump testament during build
To allow us to ensure that we do not have unexpected version strings
due to dirty builds etc, dump the testament after the build but before
running the tests.  We can't do this for unusual cross-builds but
for the most part we can do it on at least one of each of our major
platforms.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-01 09:25:58 +01:00
Lzu Tao
f63f2e460b ci: Run rustfmt on x86_64-linux only 2019-04-30 01:47:34 +07:00
Lzu Tao
44674e4340 ci: Ensure rustup-init script run on CentOS 6 2019-04-27 14:27:59 +07:00
Pietro Albini
21a1f02eba make the sync-dist.py script compatible with both Python 2 and 3 2019-04-23 10:19:03 +02:00
Lzu Tao
11d9a0e610 ci: Make docker quiet 2019-04-22 12:24:06 +07:00
Lzu Tao
2281081ec5 Fold process of building Dockerfile 2019-04-22 10:33:02 +07:00
Lzu Tao
9788c16047 Run shellcheck only in Travis Linux 2019-04-22 10:33:02 +07:00
Josh Stone
8c837dec7e Read the image URL and digest from S3 too 2019-03-25 15:20:21 -07:00
Josh Stone
b7bbce5606 Use rust's docker images for mips*, powerpc*, and s390x
When building for `linux-gnu` targets, we need to be careful about which
versioned GLIBC symbols we'll link, as this sets the minimum supportable
system version in ABI. The images in rust-lang/rust/src/ci/docker/ have
already taken this into account, and since they're uploaded to S3, we
can just use those exact images to get the same ABI compatibility.

The builds for mips*, powerpc*, and s390x were identified in #1681 as
having newer glibc symbols than rustc, so those are now changed to use
rust's docker images. In the future, we might want to do this for other
architectures too, so all toolchains are in sync.
2019-03-22 18:08:53 -07:00
Dale Wijnand
432c29ebb5 Unnest rustup's dist crate 2019-03-14 21:52:30 +00:00
Dale Wijnand
e20ee68a5a Run ShellCheck in CI 2019-03-13 09:24:32 +00:00
Lzu Tao
e488ae999a Replace _ with sh 2019-03-09 16:10:17 +07:00
Lzu Tao
9323d3e2cb Overhaul CI scripts
* Make these scripts more POSIX-compliant.
 * Fix ShellCheck's complain.
2019-03-09 10:30:56 +07:00
Emanuel Butacu
e40e42a80d Remove MSI 2019-03-05 17:56:15 +02:00
Daniel Silverstone
3104d19a8a Ensure formatting during CI checks
In order to ensure that we don't get odd formatting changes
mixed in with future PRs, verify the formatting during the CI
run if all tests pass.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-01-06 11:03:17 +00:00
Nick Cameron
243e3d5889 Bump version to 1.15.0
And fix nursery links
2018-11-27 14:43:31 +13:00
Alex Crichton
a699b6d3e6 Use openssl-src from crates.io to link to OpenSSL
This commit updates the CI builds for rustup to always build
`openssl-src` from crates.io instead of having a baked-in build of
OpenSSL. This matches what Cargo has switched to as well, and is
intended to centralize OpenSSL updates to one crates.io crate.

This also modernizes the docker containers and builds a bit to remove
the need for some scripts here and there.
2018-11-05 15:06:15 -08:00
Alex Crichton
37c0a115a6 Invalidate static.rust-lang.org on release 2018-07-08 09:14:36 -07:00