Commit Graph

84 Commits

Author SHA1 Message Date
Alex Crichton
7d74c0993c Clean up CI configuration and add s390x
We can't test s390x because qemu segfaults but we can at least verify that it
compiles.

Closes #650
2017-07-07 14:19:06 -07:00
Marco A L Barbosa
2fd7f7a43f Add x86_64-linux-android test 2017-05-03 20:12:49 -03:00
Alex Crichton
9a55bc1027 Get CI working again
A few changes have necessitated some updates on our end
2017-03-23 11:29:57 -07:00
Marco A L Barbosa
d500a458a0 Enable travis tests for {i686, aarch64}-linux-android 2017-02-24 17:21:56 -03:00
Kevin Brothaler
4bcad05d03 osx_image was in the wrong place? 2017-01-17 14:47:08 -04:00
Kevin Brothaler
c8a4d214eb Run the unit tests on the iOS simulator for x86_64-apple-ios 2017-01-17 14:47:08 -04:00
Alex Crichton
b9430b034d Update both mips musl download locations 2016-12-02 16:22:11 -08:00
Alex Crichton
93dbca015f Bump to 0.2.18 2016-12-02 12:57:44 -08:00
Alex Crichton
c9ec4e7a63 Update travis token 2016-11-19 10:10:43 -08:00
Alex Crichton
8726270a8e Merge pull request #456 from alexcrichton/cache-things
Share the host's `target` directory for tests
2016-11-18 09:00:09 -06:00
Alex Crichton
c2842463e5 Share the host's target directory for tests
This helps caching between runs and can help speed up turnaround time for
various operations. The old android container didn't work out for some reason
due to permissions so the definition has now been vendored locally to just
rebuild it each time.
2016-11-17 11:30:17 -08:00
Alex Crichton
18d5d43f65 Move docs back to nightly 2016-11-17 09:48:12 -08:00
Alex Crichton
0df7e408ef Generate docs on 1.10.0
Should help us keep the size explosion under control.
2016-10-28 06:57:03 -07:00
Alex Crichton
78070bdf28 Try to fix powerpc64 and update to crates.io ctest 2016-10-20 17:23:23 -07:00
Alex Crichton
b01a0fbe5f Merge pull request #428 from alexcrichton/fixes
Add SO_REUSEPORT to mips64
2016-10-14 21:33:25 -07:00
Alex Crichton
dcf47d21ba Add a number of constants to mips64 2016-10-14 16:36:40 -07:00
Alex Crichton
ff9366548b Go back to stable for rustdoc 2016-10-14 14:54:50 -07:00
Alex Crichton
8a9d8c2c98 Fix the build on s390x 2016-10-10 23:23:08 -07:00
Jorge Aparicio
3df0057247 add CI for mips-musl
and fix the statvfs struct for this target
2016-09-11 23:57:37 -05:00
Alex Crichton
ed32e3fc8e Add CI for mipsel-unknown-linux-musl
Download a trunk OpenWRT toolchain and verify bindings against that. Also fixup
a few stray errors today
2016-08-28 11:53:38 -07:00
Alex Crichton
a6b1c2d296 Fix and add testing for powerpc64 2016-08-26 23:11:45 -07:00
Alex Crichton
64595efb18 Use https for webhooks 2016-08-26 23:04:58 -07:00
Alex Crichton
8018a50514 Get powerpc-unknown-linux-gnu working and tested 2016-08-26 22:59:19 -07:00
Alex Crichton
a097ff6d35 Add ci for i686-unknown-linux-musl 2016-08-26 19:49:16 -07:00
Alex Crichton
3eb4a48b1b Use docker for all CI tests and images
Previously we were somewhat half-Docker, half-Travis, half apt-get, etc. This
commit alters the CI infrastructure to use Docker images for each target. This
should make it much easier to update the images and tweak various bits and
pieces of installed software. Additionally, it's also much clearer now what's
needed for each suite of tests!

Some images were updated a bit (e.g. musl is now 1.1.14), but other images
encountered failures when updating so they're not getting updated just yet.
2016-06-15 03:33:30 -07:00
Axel Viala
26ee782523 Add Directory file descriptor relative syscall.
I only added "*at" syscall relative to Posix2008 specification.

At the moment OSX and Android are partially supporting this API.

This include:
* `openat`
* `faccessat`
* `fchmodat`
* `fchownat`
* `fstatat`
* `linkat`
* `mkdirat`
* `mknodat` [0]
* `readlinkat`
* `renameat`
* `symlinkat`
* `unlinkat`
* `mkfifoat` [0][1]

[1] Not available on Android at the moment:
* `mkfifo`

[1] Not available on OSX at the moment:
* `mkfifoat`
* `mknodat`

And exclude operating system specific API:
* `renameat2`: Linux specific
* `execveat`: Linux specific since 3.19
* `futimesat`: GNU extension
* `name_to_handle_at`: GNU extension
* `scandirat`: GNU extension
* `fanotify_mark`: belong to fanotify API.
2016-06-10 02:33:32 +02:00
Alex Crichton
dfd196efe6 Use '&&' on travis, not ';' 2016-04-11 13:28:21 -07:00
Alex Crichton
81ba7f05a8 Run CI on all branches
Only running them against auto-libc unfortunately means that PRs don't run CI.
2016-03-11 09:35:56 -08:00
Alex Crichton
2ff0e52d53 Add webhooks to travis 2016-03-10 17:26:44 -08:00
Alex Crichton
518e09f8b7 Merge branch 'style' of https://github.com/alexcrichton/libc into merge
Conflicts:
	src/unix/notbsd/linux/musl/b32/arm.rs
	src/unix/notbsd/linux/musl/b32/asmjs.rs
	src/unix/notbsd/linux/musl/b32/x86.rs
	src/unix/notbsd/linux/musl/b64/mod.rs
	src/unix/notbsd/linux/other/b32/x86.rs
	src/unix/notbsd/linux/other/b64/aarch64.rs
	src/unix/notbsd/linux/other/b64/powerpc64.rs
	src/unix/notbsd/linux/other/b64/x86_64.rs
2016-03-06 11:22:42 -08:00
Alex Crichton
c02a5c237a Use nightlies for iOS and rumprun
iOS was fixed awhile back and we should have rumprun nightlies now, so let's use
them!
2016-03-03 13:40:09 -08:00
Alex Crichton
8a8bc668d0 Add a style checking script to CI
It's tough to have PRs bounce or to have a back and forth with contributors
about minor style quibbles. Sometimes it ends up just being easier to fix style
after the fact, but let's add some automation to help this!

This commit adds a script to run on CI and locally to verify the style of this
repository. There's a few stylistic guidelines to ensure that definitions are
understandable across the jungle of modules. This consistency should help assist
readability for any future readers!
2016-03-01 22:03:34 -08:00
Alex Crichton
28a493a8cf Move iOS back to a known good date 2016-02-18 13:53:46 -08:00
Alex Crichton
6d46b6fa5f Add a default-on "use_std" feature
This adds a `use_std` Cargo feature which disables `#![no_std]` builds of libc,
but is enabled by default. The library will currently continue to link to the
standard library to maintain backwards compatibility with the 0.2 series and
older Rust compilers for now, but this default can possible be changed in the
future.
2016-02-10 17:21:21 -08:00
Alex Crichton
36ae2359b3 Use iOS nightlies instead of a pinned version 2016-02-04 15:35:58 -08:00
Alex Crichton
d820c4a8f7 Add OpenBSD and FreeBSD CI to Travis
This commit adds support to test all libc definitions on both OpenBSD and
FreeBSD via QEMU userspace emulation. Specially prepared images for each OS are
used which are essentially intended to run a script on startup and then exit.
Documentation has been added to the `ci/README.md` file describing this new
system.
2016-01-18 22:54:28 -08:00
Alex Crichton
a5d830a8a0 Move docker container and don't re-symlink mips compilers 2016-01-10 14:36:27 -08:00
Alexander Polakov
2cdb21ea2b Use docker for MIPS 2015-12-27 12:22:59 +03:00
Alex Crichton
881ef9b966 Update the android CI image
It's got a new toolchain which should hopefully support some more modern
definitions.
2015-12-18 13:15:09 -08:00
Alex Crichton
49d7bca8aa Add rumprun CI and get tests passing 2015-12-01 17:16:43 -08:00
Alex Crichton
68a5c445b0 Link to librt on non-apple platforms 2015-11-20 10:52:59 -08:00
Alex Crichton
094b0d4e85 Only run libc-test on nightly
Otherwise just make sure the library builds on other Rust versions
2015-11-03 14:22:29 -08:00
Alex Crichton
4e43d81925 Re-encrypt upload token 2015-10-29 17:50:09 -07:00
Alex Crichton
657eeec3b6 Run more extra targets on nightly 2015-10-29 11:08:34 -07:00
Alex Crichton
baef6116da iOS support 2015-09-21 14:37:14 -07:00
Alex Crichton
9cb1634164 Move to master branch 2015-09-21 13:37:36 -07:00
Alex Crichton
d86471cb4a Only install gcc-multilib when necessary 2015-09-17 17:46:58 -07:00
Alex Crichton
684cfa4691 Add aarch64 support/CI 2015-09-17 15:19:58 -07:00
Alex Crichton
242d3d33e2 Only test autotest for now 2015-09-17 11:57:15 -07:00
Alex Crichton
0de482ca8a Ok... another key? 2015-09-17 08:06:16 -07:00