Commit Graph

68 Commits

Author SHA1 Message Date
Paolo Teti 3a0a96dc00 TravisCI: remove allow_failures for thumb* targets 2018-02-25 19:23:30 +01:00
Alex Crichton 032424971d Allow thumb failures
They've been broken for some time anyway
2018-01-31 07:26:44 -08:00
Jorge Aparicio 2446cc468f drop binfmt_misc dependency
Instead use the Cargo runner feature. The binfmt_misc approach requires running a privileged
container for setup. Not all docker setups support privileged containers so the test suite should be
more accessible with this change as no privileged container is needed.
2017-10-07 22:19:37 +02:00
Alex Crichton 635e519b86 Remove the travis cache 2017-06-23 20:20:42 -07:00
Alex Crichton 7f90c48a7a Test 64-bit linux 2017-06-22 23:44:27 -07:00
Jorge Aparicio d2bf0f97e1 travis: don't reinstall rustup
travis now installs rust using rustup
2017-04-10 18:00:16 -05:00
Jorge Aparicio 181139a35e .travis.yml: thumbs target have been renamed 2017-04-10 17:59:45 -05:00
Jorge Aparicio 3992ed1e7a CI: use a recent nightly
- add #[no_mangle] to the panic_fmt lang item to adjust to changes in
the visibility algorithm

- adjust to changes in the layout of Cargo's target directory

- use a newer Xargo to reduce the build time of the sysroot (only core
is compiled as part of the sysroot now)
2016-12-31 10:04:40 -05:00
Jorge Aparicio 6c4647ef11 don't set SSL_CERT_FILE for OSX 2016-12-11 15:26:18 -05:00
Jorge Aparicio c9155e3c36 work around rust-lang/cargo#3340 2016-12-11 14:58:05 -05:00
Jorge Aparicio c19d6764f3 pin all the targets to nightly-2016-12-05 2016-12-11 11:33:21 -05:00
Jorge Aparicio c1ef69f2a0 fix the test suite for the thumb targets 2016-12-11 11:18:48 -05:00
Jorge Aparicio 5c0e0f2070 CI: use Xargo 0.2.x
this version uses the rust-src component that rustup installs instead
of fetching the source tarball from static.r-l.o, which sometimes went
wrong due to the fallible logic that Xargo 0.1.x used
2016-11-23 12:47:42 -05:00
bors 77ff499a0c Auto merge of #105 - japaric:mips64, r=japaric
test the mips64 targets

These should be all the required changes I think but libloading can't be cross compiled for these new targets:

```
error: failed to run custom build command for `libloading v0.3.1`
process didn't exit successfully: `/target/debug/build/libloading-07147fe7fffab0b2/build-script-build`(exit code: 101)
--- stderr
thread 'main' panicked at 'could not get target info: TargetNotFound', ../src/libcore/result.rs:799
note: Run with `RUST_BACKTRACE=1` for a backtrace.
```

I've openend nagisa/rust_libloading#19 to track that. Wel'll have to wait until that's fixed.

cc @alexcrichton
2016-10-19 09:30:10 -07:00
Jorge Aparicio 86e3b955cd test the mips64 targets 2016-10-14 20:26:59 -05:00
bors 0b53393c08 Auto merge of #103 - alexcrichton:update-ci, r=japaric
Update CI configs

* Run on the master branch (to get previews)
* Pass --target on AppVeyor (oops)
* Use the current nightly for arm (I think that bug is fixed)
2016-10-14 17:56:26 -07:00
Alex Crichton 9b6f5ff4cd Update CI configs
* Run on the master branch (to get previews)
* Pass --target on AppVeyor (oops)
* Use the current nightly for arm (I think that bug is fixed)
2016-10-14 11:58:40 -07:00
Alex Crichton ae178cee6e Update webhook url 2016-10-14 11:44:45 -07:00
Jorge Aparicio 3e6ebb3b76 run the full test suite on osx 2016-10-07 12:03:59 -05:00
Jorge Aparicio 5908bb7f87 switch back to old nightly for the arm-gnueabi target 2016-10-05 22:13:55 -05:00
Jorge Aparicio 4df5deba44 switch to a current nightly 2016-10-05 21:34:16 -05:00
Jorge Aparicio d8fa45a653 add back the mysterious apt-get install qemu-user-static 2016-09-30 20:08:29 -05:00
Jorge Aparicio d2036122f1 /home/travis -> $HOME 2016-09-30 18:25:40 -05:00
Jorge Aparicio 0c9b651389 do chmod jut before the script phase ends 2016-09-30 18:09:52 -05:00
Jorge Aparicio 43e019dfc4 cache Cargo artifacts
notable changes in the docker-based testing infrastructure

- the docker containers can now modify $CARGO_HOME, to re-use the outer
  Cargo registry, and the target directory to re-use build artifacts.

- the docker containers are removed when their execution finishes
  because it's no longer necessary to re-start them to inspect them
  because all the interesting output is in the outer target directory
2016-09-30 17:39:36 -05:00
Jorge Aparicio b5797dc2a2 adapt to new testing infrastructure 2016-09-29 18:50:04 -05:00
Alex Crichton 8e161a791a Expand and refactor teting infrastructure
This commit moves over most of the testing infrastructure to in-tree docker
images that are all dispatched to from Travis (no other test configuration).
This allows versioning modifications to the test infrastructure as well as the
code itself. Additionally separate docker images allows for easy modification of
one without worrying about tampering of others as well as easy addition of new
targets by simply adding a new `Dockerfile`.

Additionally this commit bundles the master version of the `compiler-rt` source
repository from `llvm-mirror/compiler-rt` to test against. The compiler-rt
library itself is compiled as a `cdylib` which is then dynamically located at
runtime and we look for symbols in. There's a few hoops here, but they currently
get the job done.

All tests now execute against both gcc_s and compiler-rt, and this
testing strategy is now all hidden behind a macro as well (refactoring
all existing tests along the way).
2016-09-28 22:09:55 -07:00
Jorge Aparicio b7fa7d3a59 put weak mem* symbols behind an opt-in Cargo feature
closes #64
cc #66
2016-09-22 18:02:25 -05:00
Jorge Aparicio 0404438809 test the thumbv7em-none-eabihf target 2016-09-22 06:15:05 -05:00
Jorge Aparicio cc95697974 homu-ify 2016-09-10 16:49:32 -05:00
Jorge Aparicio 1ac627839d travis: simplify ci scripts 2016-08-29 19:31:49 -05:00
Jorge Aparicio 0bf085bc21 set language: ruby on osx only 2016-08-23 21:20:57 -05:00
Jorge Aparicio 51aabf3c32 use the gist gem instead of the gist crate
hopefully this will work on osx and will make everything more
uniform (appveyor is already using the gem instead of the crate)

closes #51
2016-08-23 20:48:24 -05:00
Jorge Aparicio adfb1ff851 sort targets 2016-08-13 20:25:16 -05:00
Jorge Aparicio c34b356c44 try 32-bit qemu for ppc64le 2016-08-13 18:58:41 -05:00
Jorge Aparicio ac8370b4ac need to set PATH for macos 2016-08-13 17:53:26 -05:00
Jorge Aparicio 7111a4a0dd arm targets no longer have flaky tests 2016-08-13 17:46:12 -05:00
Jorge Aparicio 12933b8dca sort targets 2016-08-13 17:43:40 -05:00
Jorge Aparicio b4df203c46 use trusty 2016-08-13 17:32:08 -05:00
Jorge Aparicio 0c2ef10160 CI: run all Linux targets inside docker 2016-08-13 17:22:12 -05:00
Jorge Aparicio e7b10e53ac install binutils manually 2016-08-13 12:41:50 -05:00
Jorge Aparicio c6fab21982 binutils -> gcc? 2016-08-13 12:27:56 -05:00
Jorge Aparicio ba3bb2952f CI: test ARM Cortex targets
closes #32
2016-08-13 12:12:37 -05:00
Jorge Aparicio ab8927ca57 put the target first 2016-08-09 15:37:51 -05:00
Jorge Aparicio 8c029ed1b4 use docker 2016-08-09 15:37:24 -05:00
Jorge Aparicio b0e5d13e2f use trusty 2016-08-09 12:43:41 -05:00
Jorge Aparicio aee4420ed6 CI: test i586-unknown-linux-gnu 2016-08-09 12:25:49 -05:00
Jorge Aparicio 09935e24eb don't run tests on targets that have QEMU issues
cc #2
2016-08-09 11:49:55 -05:00
Jorge Aparicio a4f06b9a8e CI: test mipsel-unknown-linux-gnu 2016-08-08 23:26:13 -05:00
Jorge Aparicio 0c7f25bdbd CI: test powerpc64-unknown-linux-gnu 2016-08-08 23:05:25 -05:00