summaryrefslogtreecommitdiff
path: root/ci/run.sh
Commit message (Collapse)AuthorAgeFilesLines
* refactor: use grep -E instead of egrepkxxt2022-09-211-1/+1
|
* add CI for armv7-unknown-linux-uclibceabihfJonah Petri2022-01-211-7/+7
|
* Do debug build for `x86_64-unknown-linux-gnux32`Yuki Okushi2021-07-161-12/+5
|
* Add trace to CIJubilee Young2021-02-241-1/+1
|
* Revert "Skip some tests for `mips64(el)-unknown-linux-gnuabi64`"Yuki Okushi2020-10-251-4/+0
| | | | This reverts commit 7aa60269ae6cecd01831f5ec62d8c582e24de4fd.
* Skip some tests for `mips64(el)-unknown-linux-gnuabi64`Yuki Okushi2020-10-191-0/+4
|
* Retry N times on s390x CI to avoid timeout failureYuki Okushi2020-10-091-6/+34
|
* Update issue numberYuki Okushi2020-03-081-1/+1
|
* Fix shellcheck issueYuki Okushi2020-03-011-1/+1
|
* Update bindings for the wasm32-wasi targetAlex Crichton2019-12-161-3/+3
| | | | | | | | | | | | This commit performs a number of updates for libc with the `wasm32-wasi` target: * Updates the `wasi-libc` repository commit used (previously known as `wasi-sysroot`) * Updates the container to Ubuntu 19.10 which has Clang 9 packaged which is all we need. * Avoids building `wasmtime` and instead downloads a precompiled binary. * Updates bindings in `src/wasi.rs` to match the current upstream state.
* ci: switch mirrors to use our CDNmirrors-cdnPietro Albini2019-10-221-1/+1
| | | | | | We recently added a CDN in front of our CI mirrors as it's faster and cheaper for us. This switches libc's CI to use it instead of accessing the underlying bucket directly.
* ci: switch to the rust-lang-ci-mirrors bucket for mirrorsPietro Albini2019-08-211-3/+5
| | | | | | | | Previously mirrors were stored in the rust-lang-ci2 bucket, which is meant to store temporary data (the CI artifacts). This switches the code to fetch from the new mirrors bucket. The old files won't be removed, but they won't be backed up either.
* Add a build task for FreeBSD11 without LIBC_CIgnzlbg2019-08-141-2/+0
|
* Add a FreeBSD 12 build job and test FreeBSD12 APIsgnzlbg2019-05-241-3/+5
| | | | | | | | | | | | | | | | | | | | | This commits adds a second FreeBSD 12 build job, and splits the implementation of the FreeBSD module into two modules, one for FreeBSD 11, and one for FreeBSD 12. The FreeBSD 11 module is compiled always by default, and is mostly forward compatible with FreeBSD 12 systems. The FreeBSD 12 module is only built for now in libc's CI, and uses FreeBSD 12 data types and APIs, linking to symbols that are only available in FreeBSD 12. Basically, when LIBC_CI env variable is defined, and the host system is a FreeBSD 12 system, then the FreeBSD 12 module is automatically built and tested. Conditional compilation is done using a `cfg(freebsd12)` flag. This commit also re-enables many tests, and documents why some remain disabled.
* Build all platforms in CIgnzlbg2019-02-071-14/+7
| | | | | | | | | | | | | | | | | | | | | | 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 .
* Add an integration test for the cmsg(3) functions.Alan Somers2019-02-051-1/+1
| | | | | | | | | | | | | | | | | Since these are defined in C as macros, they must be reimplemented in libc as Rust functions. They're hard to get exactly right, and they vary from platform to platform. The test builds custom C code that uses the real macros, and compares its output to the Rust versions' output for various inputs. Skip the CMSG_NXTHDR test on sparc64 linux because it hits a Bus Error. Issue #1239 Skip the entire cmsg test program on s390x because it dumps core seemingly before the kernel finishes booting. Issue #1240
* Implement PartialEq,Eq for all typesBryant Mairs2019-02-021-0/+4
|
* Retry all curl operationsTom Parker-Shemilt2018-11-261-3/+3
|
* Fix shellcheck issuesgnzlbg2018-11-201-32/+33
|
* Add testing with align featureLinus Färnstrand2018-07-291-1/+5
|
* Disable test for --no-default-features on rumprunAmanieu d'Antras2018-07-121-1/+5
|
* Update FreeBSD docker CI to use FreeBSD 11.1 imageWesley Moore2018-03-161-0/+7
|
* perform ctest with and without stdgnzlbg2018-02-271-1/+1
|
* fix ci scriptgnzlbg2018-02-271-1/+1
|
* test --no-default-features and fix musl buildsgnzlbg2018-02-271-0/+1
|
* Fix the FreeBSD targetAlex Crichton2017-11-251-1/+5
| | | | It wasn't expecting a `*.d` file to exist, now it does.
* Add issue for linux x32 failing to buildMarco A L Barbosa2017-10-271-0/+1
|
* Add x86_64-unknown-linux-gnux32 docker imageMarco A L Barbosa2017-10-271-1/+7
|
* Update s3 download locationsAlex Crichton2017-09-161-2/+2
|
* Remove caching and fix FreeBSD testsAlex Crichton2017-09-051-2/+2
|
* Update Android images/runnersAlex Crichton2017-08-211-1/+1
|
* Leverage Cargo's target runner support to execute testsAlex Crichton2017-08-211-107/+1
|
* Run CI tests using cargoBryant Mairs2017-08-211-27/+26
| | | | | | This works by specifying a "runner" for actually executing the binary. This doesn't apply to the Android or NetBSD runs because there isn't a simple binary that just runs the executable.
* Simplify iOS builds by using Cargo's RUSTFLAGS supportBryant Mairs2017-08-211-12/+5
|
* Add more fcntl and seal constants for Android/LinuxBryant Mairs2017-08-201-18/+41
| | | | | | | | | | | | We now create an additional binary `linux_fcntl` for testing this since there are header conflicts when including all necessary headers. This binary is run on all platforms even though it's empty on all non- Android/non-Linux platforms. Testing has been switched from a custom binary to using a runner-less test (or pair of tests). This means that for local development a simple `cd libc-test && cargo test` will run all the tests. CI has also been updated here to reflect that.
* Remove OpenBSD CIAlex Crichton2017-08-181-30/+5
| | | | | | 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.
* Clean up CI configuration and add s390xAlex Crichton2017-07-071-0/+5
| | | | | | | We can't test s390x because qemu segfaults but we can at least verify that it compiles. Closes #650
* Add x86_64-linux-android testMarco A L Barbosa2017-05-031-1/+4
|
* Add test support for x86_64-linux-androidMarco A L Barbosa2017-04-191-1/+1
|
* Enable kvm in docker images if availableMarco A L Barbosa2017-04-191-1/+5
|
* Add test support for {aarch64, i686}-linux-androidMarco A L Barbosa2017-02-231-4/+9
|
* Replace Python script with Rust script.Kevin Brothaler2017-01-171-2/+4
|
* Fix i386-apple-iosKevin Brothaler2017-01-171-1/+5
|
* Run the unit tests on the iOS simulator for x86_64-apple-iosKevin Brothaler2017-01-171-0/+4
|
* Update CI download locationAlex Crichton2016-11-061-2/+2
|
* Add a number of constants to mips64Alex Crichton2016-10-141-0/+4
|
* Use workspaces in this repoAlex Crichton2016-10-081-14/+6
| | | | Also cache on appveyor to speed up builds.
* handle mips-musl in ci/run.shJorge Aparicio2016-09-291-2/+7
|
* extend QEMU image managementSĂ©bastien Marie2016-09-091-4/+16
| | | | | | | | - allow QEMU name to have subdirectory inside (replace `/` by `__` in the filename) - add a new code path for plain qcow2 image (for efficient bandwidth usage, the qcow2 is expected to use compressed qcow2 format) - move freebsd image to explicitly download the gzipped QEMU
* Add CI for mipsel-unknown-linux-muslAlex Crichton2016-08-281-0/+4
| | | | | Download a trunk OpenWRT toolchain and verify bindings against that. Also fixup a few stray errors today