Commit Graph

96 Commits

Author SHA1 Message Date
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
Marco A L Barbosa 56b3403fa5 Add mips64el to CI 2017-10-27 08:21:40 -02:00
Marco A L Barbosa 31309536e9 Add powerpc64le to CI 2017-10-24 19:04:02 -02:00
Alex Crichton 9029cfb9eb Add more Linux-based syscall tables
* Add syscall tables to most remaining arches in `src/unix/notbsd`
* Add aarch64/arm musl to CI
* Update dependencies
2017-10-18 15:17:00 -07:00
Alex Crichton d2044231dc Remove caching and fix FreeBSD tests 2017-09-05 20:18:21 -07:00
Joshua Liebow-Feeser f8bfc6eaa4 apple: Add VM_* constants from mach/vm_statistics.h
Closes #736
2017-08-30 16:04:21 -07:00
Alex Crichton 22b98dedfe Add asmjs/wasm32 to CI
Rebase of #610 and also move emscripten up much higher in the hierarchy to
ensure that it doesn't have too much of a ripple effect on other platforms.

This involved moving down a good number of definitions, but hopefully was done
with care to not break anything!
2017-08-26 22:15:29 -07:00
Alex Crichton b7902df689 Add ios flags to ios invocations 2017-08-22 07:02:32 -07:00
Alex Crichton bcbfa85651 Leverage Cargo's target runner support to execute tests 2017-08-21 21:41:37 -07:00
Alex Crichton 201d539465 Remove OpenBSD CI
It's now broken due to changes in the `gcc` crate and having a too-old compiler,
and in general it's unfortunately architecturally so different from the other
test frameworks that it's difficult to maintain over time.
2017-08-18 09:34:08 -07:00
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