Commit Graph

55 Commits

Author SHA1 Message Date
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
Jorge Aparicio b76f5e217b allow failure 2016-08-08 22:47:37 -05:00
Jorge Aparicio edbde8c2ea CI: test mips-unknown-linux-gnu 2016-08-08 22:03:44 -05:00
Jorge Aparicio 42922d26af allow failure 2016-08-08 21:57:18 -05:00
Jorge Aparicio 9494d8f925 put first in the queue 2016-08-08 21:43:13 -05:00
Jorge Aparicio 95eb812d38 don't recursively call docker 2016-08-08 20:56:05 -05:00
Jorge Aparicio 1904e17b91 enable docker 2016-08-08 20:45:46 -05:00
Jorge Aparicio d9deff7103 install toolchain in docker 2016-08-08 20:41:08 -05:00
Jorge Aparicio 8f85ab545d run in xenial (docker) 2016-08-08 20:37:04 -05:00
Jorge Aparicio 6c835ef73e explicitly use qemu-ppc64le 2016-08-08 20:04:17 -05:00
Jorge Aparicio 7e29b4a15f CI: test powerpc64le-unknown-linux-gnu 2016-08-08 19:44:55 -05:00
Jorge Aparicio 0b9c875c60 use trusty 2016-08-08 19:36:20 -05:00
Jorge Aparicio 8c9173e770 CI: test powerpc-unknown-linux-gnu 2016-08-08 19:31:37 -05:00
Jorge Aparicio 986c4aae74 CI: allow failures for TARGET=armv7-unknown-linux-gnueabihf 2016-08-07 21:22:15 -05:00