From a9e7e904d323089b6cd4401c656dc822da18e326 Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Tue, 5 Feb 2019 11:04:19 +0100 Subject: [PATCH] Run tests on userspace-emulated PowerPC This has the downside of not supporting running tests on Valgrind, see the discussion in issue #15. However, this does test quite a lot already. This uses the docker container defined in https://github.com/thomwiggers/debian-unstable-powerpc/. Co-authored-by: Thom Wiggers --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6448a838..db8f4cac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,15 @@ matrix: - python3 - python3-yaml - valgrind + - name: "Run tests on qemu-ppc" + os: linux + services: docker + env: + - MAKETARGET="run-functest-all run-testvectors-all run-sanitizer-all run-symbol-namespace-all" + script: # TODO: should we do this in a Dockerfile instead? + - docker run --rm --privileged multiarch/qemu-user-static:register --reset + - docker run --rm -v `pwd`:`pwd` -w `pwd` "twiggers/debian-sid-powerpc" /bin/bash -c "uname -a && + make ${MAKETARGET}" - name: "MacOS + Clang" os: osx osx_image: xcode10.1