summaryrefslogtreecommitdiff
path: root/ci/run.sh
AgeCommit message (Collapse)Author
2016-08-10ci: fix docker container checkPaul Osborne
Newer version of docker no longer have the /.dockerinit file present when the container is executing, so that is no longer an option. When executing in a container, we do know that we will be executing as pid 1 -- this is probably not ever the case on the host system. Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-21testing: specify a few extra environment variablesPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-14testing: ensure run.sh is executing in docker containerPaul Osborne
On the host, some undesired things could end up happening if this is executed, so we now exit and log if that is attempted. In addition, we now backup the previous cargo config if present. This will never be the case in the current build setup, but that could change if we decide to do builds in a data volume in the future. Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-14testing: use default linker for appropriate platformsPaul Osborne
For platforms where the host ${CC} is appropriate, use the default implicitly rather than matching it explictly. This will allow for the llvm linker to be used if/when that happens. Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-14testing: move echo statement within docker run scriptPaul Osborne
Based on code review feedback. Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-13testing: export CC based on .cargo/config contentsPaul Osborne
We already need to test cargo about gcc locations so it can perfom linking -- we just parse this information out to tell rust where gcc is for complation (nix-test compiles some C code for testing). Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-13testing: disable thread parallelization in docker testingPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-13testing: fix test exeuction paths with move to docker containerPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-13testing: remove `set -x` from ci/run.shPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-13testing: configure linker via .cargo/configPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-13testing: add ci scripts to aid testing on more architectures/versionsPaul Osborne
These scripts represent a rough first cust at adding support for locally building nix and its tests for a large number of rust versions and architectures. Currently, this mostly helps with testing that nix compiles for various architectures (to the point that there are a mound of problems that need to be addressed). Once these are sorted, the code for actually running the tests for various architectures will be approached (this will require qemu and will still not target all architectures). Signed-off-by: Paul Osborne <osbpau@gmail.com>