Skip to content
Snippets Groups Projects
  1. Feb 07, 2019
    • gnzlbg's avatar
      Build all platforms in CI · 8f1acf46
      gnzlbg authored
      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 .
      8f1acf46
  2. Feb 05, 2019
    • Alan Somers's avatar
      Add an integration test for the cmsg(3) functions. · 38cf5b15
      Alan Somers authored
      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
      38cf5b15
  3. Feb 02, 2019
  4. Nov 26, 2018
  5. Nov 20, 2018
  6. Jul 29, 2018
  7. Jul 12, 2018
  8. Mar 15, 2018
  9. Feb 27, 2018
  10. Nov 25, 2017
  11. Oct 27, 2017
  12. Sep 16, 2017
  13. Sep 06, 2017
  14. Aug 22, 2017
  15. Aug 21, 2017
    • Bryant Mairs's avatar
    • Bryant Mairs's avatar
      Add more fcntl and seal constants for Android/Linux · 2e11d9e1
      Bryant Mairs authored
      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.
      2e11d9e1
  16. Aug 18, 2017
    • Alex Crichton's avatar
      Remove OpenBSD CI · 201d5394
      Alex Crichton authored
      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.
      201d5394
  17. Jul 07, 2017
  18. Jun 08, 2017
  19. May 03, 2017
  20. Apr 19, 2017
  21. Feb 23, 2017
  22. Jan 18, 2017
  23. Jan 17, 2017
  24. Nov 06, 2016
  25. Oct 14, 2016
  26. Oct 09, 2016
  27. Sep 30, 2016
  28. Sep 09, 2016
    • Sébastien Marie's avatar
      extend QEMU image management · 91993945
      Sébastien Marie authored
      - 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
      91993945
  29. Aug 28, 2016
  30. Aug 27, 2016
  31. Jun 15, 2016
    • Alex Crichton's avatar
      Use docker for all CI tests and images · 3eb4a48b
      Alex Crichton authored
      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.
      3eb4a48b
Loading