add Jenkinsfile to test each PR and branch commits

This includes a basic test that attempts to compile the rustfmt crate.
Ensures that the workspace is always removed at the end of the build. It
utilizes available caches to speed up the build process and parallelizes
the build across i386, x86_64, arm32, and arm64 targets.

Signed-off-by: Derek Straka <derek@asterius.io>
This commit is contained in:
Derek Straka
2016-10-28 13:34:49 -05:00
committed by Doug Goldstein
parent 1622af812d
commit d716587c26
5 changed files with 58 additions and 2 deletions

7
scripts/setup-env.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash -e
mkdir -p build
sudo mount -t tmpfs -o size=64G,mode=755,uid=${UID} tmpfs build
exit 0