From d6e32afa0ab24aee51c3989528281adc4ffad266 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Wed, 27 Nov 2019 12:44:02 -0800 Subject: [PATCH] added mingw cross compilation tests based on a script in RocksDB project. also : pushed qemu aarch64 tests to master/cron, since there are already hardware aarch64 tests on dev. --- .travis.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd486af69..c7d027f99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,7 +85,7 @@ matrix: - make cmakebuild - name: static analyzer scanbuild # ~26mn - dist: trusty # note : it's important to pin down a version of static analyzer, since newer versions find different false positives + dist: trusty # note : it's important to pin down a version of static analyzer, since newer versions find different false positives script: - make staticAnalyze @@ -120,6 +120,11 @@ matrix: - make clean - make travis-install # just ensures `make install` works + - name: mingw cross-compilation + script : + - sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix; + - CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ make + - name: Valgrind + Fuzz Test Stack Mode # ~ 7mn script: - make valgrindinstall @@ -132,12 +137,6 @@ matrix: - make arminstall - make armfuzz - - name: Qemu aarch64 + Fuzz Test (on Xenial) # ~14mn - dist: xenial - script: - - make arminstall - - make aarch64fuzz - - name: Qemu PPC + Fuzz Test # ~13mn dist: trusty # it seems ppc cross-compilation fails on "current" script: @@ -175,6 +174,14 @@ matrix: - make ppcinstall - make ppc64fuzz + # note : we already have aarch64 tests on hardware + - name: Qemu aarch64 + Fuzz Test (on Xenial) # ~14mn + if: branch = master + dist: xenial + script: + - make arminstall + - make aarch64fuzz + - name: zlib wrapper test # ~7.5mn if: branch = master script: