new file mode 100644
@@ -0,0 +1,24 @@
+language: c
+env:
+ matrix:
+ - CROSS_ARCH=armhf CROSS_PREFIX=arm-linux-gnueabihf-
+ - CROSS_ARCH=arm64 CROSS_PREFIX=aarch64-linux-gnu-
+ - CROSS_ARCH=mipsel CROSS_PREFIX=mipsel-linux-gnu-
+ - CROSS_ARCH=ppc64el CROSS_PREFIX=powerpc64le-linux-gnu-
+build:
+ pre_ci:
+ - mkdir -p docker-build
+ - cp ./tests/docker/dockerfiles/debian-multiarch-cross.docker docker-build/Dockerfile
+ - docker build -t debian-multiarch-cross:base docker-build
+ - echo -e "FROM debian-multiarch-cross:base\nRUN apt-get build-dep -a ${CROSS_ARCH} -qq qemu" | docker build -t debian-multiarch-cross:${CROSS_ARCH} -
+ pre_ci_boot:
+ image_name: debian-multiarch-cross
+ image_tag: ${CROSS_ARCH}
+ pull: false
+ options: "-e HOME=/root"
+ ci:
+ - env
+ - apt-get build-dep -a ${CROSS_ARCH} -qq qemu
+ - unset CC
+ - ./configure --cross-prefix=${CROSS_PREFIX}
+ - make -j2
@@ -1784,6 +1784,7 @@ M: Alex Bennée <alex.bennee@linaro.org>
L: qemu-devel@nongnu.org
S: Supported
F: .travis.yml
+F: .shippable.yml
Documentation
-------------
Ostensibly Shippable offers a similar set of services as Travis. However they are focused on Container based work-flows so we can use our existing containers to run a few extra builds - in this case a bunch of cross-compiled targets on a Debian multiarch system. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- .shippable.yml | 24 ++++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 25 insertions(+) create mode 100644 .shippable.yml -- 2.11.0