Commit Graph

146 Commits

Author SHA1 Message Date
Alex Crichton
3f1e8b9c45 Enable the wasi target on CI
Now that wasi is in nightlies, we can run it on PRs!
2019-04-05 08:03:03 -07:00
gnzlbg
d6443f7abe Use semverver upstream 2019-03-01 20:34:22 +01:00
gnzlbg
7f163f5d54 Allow the Semver jobs to fail 2019-02-26 16:50:59 +01:00
gnzlbg
45c7930318 Test semver for all normal targets 2019-02-26 16:45:06 +01:00
gnzlbg
6fac01b7bf Verify that only non-technical breaking changes are applied to libc
Closes #270 .
2019-02-26 12:03:47 +01:00
gnzlbg
7017701b21 Re-enable target-specific docs 2019-02-20 15:27:57 +01:00
gnzlbg
863d703910 Retry downloading artifacts to prevent spurious failures due to network issues 2019-02-20 13:01:00 +01:00
gnzlbg
e3914cf31a Make the build script fail faster 2019-02-20 11:21:38 +01:00
gnzlbg
ab54184c50 Allow installing rustfmt component to fail 2019-02-18 13:50:40 +01:00
gnzlbg
65a00c3915 Temporarily allow Android build jobs to fail 2019-02-13 16:15:21 +01:00
bors
810b8c6a84 Auto merge of #1251 - jasonbking:solarish-sq, r=gnzlbg
Add support for illumos target

This change adds support for an illumos os target to libc.  Similar to the BSDs, there is a large deal of overlap (given the common history), so the 'solaris' directory was renamed to 'solarish' (it's the closest thing to an official term to refer to things descending from Solaris as well as Solaris).  There were also a number of missing definitions (as well as a couple missing functions) that have proved necessary for building a number of rust programs on illumos or Solaris.

Portions contributed by @papertigers .
2019-02-12 15:52:52 +00:00
Jason King
0b488bf94b Only disable rustfmt style checl 2019-02-12 00:32:58 +00:00
Jason King
4ec33ade65 Disable rustfmt bot due to rust-lang/rustfmt#3341 2019-02-12 00:13:48 +00:00
gnzlbg
d42ef14eba Retry rustup target add 3 times 2019-02-09 17:54:52 +01:00
gnzlbg
a7674aa428 Do not allow rustup to fail 2019-02-09 13:59:29 +01:00
gnzlbg
8f1acf4643 Build all platforms in CI
This commit adds a `ci/build.sh` script that checks that libc builds correctly
for some common configurations (`--no-default-features`, `default`,
`extra_traits`) on most targets supported by Rust since Rust 1.13.0 (the oldest
Rust version that libc supports).

The build matrix is refactored into two stages.

The first stage is called `tools-and-build-and-tier1` and it aims to discover
issues quickly by running the documentation and linter builds, as well as
checking that the library builds correctly on all targets in all supported
channels and "problematic" Rust versions; Rust versions adding major new
features like `repr(align)`, `union`, etc. This first stage also runs
libc-test for the tier-1 targets on linux and osx. These builds finish
quickly because no emulation is necessary.

The second stage is called `tier2` and it runs libc-test for all other targets
for which we are currently able to do so.

Closes #1229 .
2019-02-07 13:44:32 +01:00
gnzlbg
0a5484ea72 Check style using rustfmt and reformat 2019-02-07 11:13:38 +01:00
gnzlbg
4f9cc1a208 Fix indentation of allow_failures 2019-01-21 22:04:14 +01:00
gnzlbg
b71ea8ba24 Allow emscripten asmjs and wasm32 targets to fail 2019-01-21 21:23:44 +01:00
gnzlbg
45adbf88dd Re-enables android build jobs
Closes #1170 .
2019-01-21 20:34:43 +01:00
bors
bf32336688 Auto merge of #1159 - cmbrandenburg:sysv_sem_support, r=alexcrichton
Add support for SysV semaphores on Apple platform
2018-12-09 02:34:28 +00:00
Alex Crichton
7862f87560 Allow Android builds to fail 2018-12-08 18:33:04 -08:00
bors
01b2be3858 Auto merge of #1167 - asomers:cirrus, r=alexcrichton
Move FreeBSD testing from Travis/QEMU to Cirrus-CI

Fixes #1163
2018-12-08 12:49:40 +00:00
Alan Somers
311722c7c5 Don't submit build status to buildbot.rust-lang.org
That service no longer exists.
2018-12-07 13:24:52 -07:00
Alan Somers
e88e6b99de Move FreeBSD testing from Travis/QEMU to Cirrus-CI
Fixes #1163
2018-12-07 13:11:09 -07:00
Tom Parker-Shemilt
e73f064a9b Upgrade Travis to using Xenial environment 2018-11-24 19:53:40 +00:00
gnzlbg
d1457314dd Factor out platforms for which libc is empty 2018-11-20 11:19:34 +01:00
gnzlbg
37a0bd3251 Fix shellcheck issues 2018-11-20 10:25:26 +01:00
gnzlbg
aca32d997c re-format 2018-11-19 15:24:41 +01:00
Alan Somers
74d5a9833f Disable the aarch64-unknown-linux-musl workaround for #856
This bug was never diagnosed.  Perhaps it's been resolved by a newer
compiler.
Fixes #856
2018-10-30 15:06:01 -06:00
bors
4a8304d47e Auto merge of #1111 - gnzlbg:xcode10, r=alexcrichton
update osx builds to xcode10
2018-10-29 22:15:31 +00:00
gnzlbg
4182efd167 update osx constants for xcode10 2018-10-29 17:31:00 +01:00
gnzlbg
4a60136aab remove the iOS simulator targets from CI 2018-10-29 17:13:48 +01:00
gnzlbg
a379fb3c48 update osx builds to xcode10 2018-10-29 15:28:19 +01:00
Josh Abraham
70c178dc12
Remove rumprun target from .travis.yml
This patch removes the x86_64-rumprun-netbsd triple from Travis CI.
2018-10-15 10:29:48 -04:00
gnzlbg
381d3e908b
sparc64 tests are passing again
Closes #1064 .
2018-08-24 13:29:30 +02:00
Alex Crichton
b9c613f3dc Fix allow_failures section 2018-08-16 09:33:02 -07:00
Alex Crichton
f31d0f7795 Allow sparc64 to fail on CI 2018-08-15 17:14:37 -07:00
Alex Crichton
e6bc44b540 Allow iOS to fail 2018-08-01 07:51:33 -07:00
Alex Crichton
83f78df8c6 Fix OSX builders on CI
Looks like Travis has moved on from our old images, so we're forced to
update.
2018-08-01 07:49:22 -07:00
Bryant Mairs
0f8a62bce6 Fail hard on sparc64 build failures 2018-05-31 19:27:03 -07:00
Jason Longshore
b58c25de76 Temporarily disable s390x 2018-05-10 15:30:51 -05:00
Jason Longshore
802bd7de05 Temporarily disable sparc64 2018-05-10 12:21:50 -05:00
gnzlbg
77837a0f33 bump compat Rust version from 1.0.0 to 1.13.0 2018-04-17 00:30:50 +02:00
Alex Crichton
bea4879eec Pin aarch64 musl to 1.22.0
Apparently it fails on 1.23.0 for mysterious reasons
2017-11-25 14:17:54 -08:00
bors
10ac3df173 Auto merge of #824 - malbarbo:x32-1, r=alexcrichton
Fixes and test for x86_64-unknown-linux-gnux32

This fixes all libc tests and almost all rustc tests (3 libstd tests and one run-pass test fails).

Fixes https://github.com/rust-lang/libc/issues/816https://github.com/rust-lang/libc/issues/816
2017-10-28 04:03:07 +00:00
bors
25fb72e359 Auto merge of #823 - malbarbo:sparc64-test, r=alexcrichton
Add sparc64-unknown-linux-gnu to CI (with disabled tests)

Tests are disabled because qemu segfaults, see https://github.com/rust-lang/libc/issues/822

The builder is still useful to catch some errors.
2017-10-28 03:34:15 +00:00
bors
c6abfc1f70 Auto merge of #821 - malbarbo:mips64el-test, r=alexcrichton
Add mips64el to CI
2017-10-28 03:04:32 +00:00
bors
84d72c659d Auto merge of #818 - malbarbo:powerpc64le-test, r=alexcrichton
Add powerpc64le to CI
2017-10-28 02:34:11 +00:00
Alex Crichton
8617317c89 Disable i686-linux-android temporarily 2017-10-27 18:31:05 -07:00