[Forensics-changes] [yara] 36/192: Travis: Cross compile with MinGW (#525)
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:31:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.6.0
in repository yara.
commit c469423b3e3aa24ea8d2a6d981b91e2899d5b15e
Author: Hilko Bengen <hillu at users.noreply.github.com>
Date: Wed Sep 21 23:58:14 2016 +0200
Travis: Cross compile with MinGW (#525)
---
.travis.yml | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index ebe25f5..0cd914b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,18 +12,19 @@ install:
# Not all repositories contain i386 binary packages
- sudo rm -rf /etc/apt/sources.list.d/
- sudo apt-get update
- - sudo apt-get install -y gcc-multilib autoconf automake libtool libjansson-dev libmagic-dev libssl-dev
+ - sudo apt-get install -y gcc-multilib gcc-mingw-w64 autoconf automake libtool libjansson-dev libmagic-dev libssl-dev
before_script: ./bootstrap.sh
script: |
set -e
- case "$CFLAGS" in
- -m64) ./configure --enable-cuckoo --enable-magic ;;
- -m32) ./configure ;;
- esac
+ unset CC # A pre-set CC overrides --host settings.
+ ./configure $CONFIGFLAGS
make
- make check
+ case "$CONFIGFLAGS" in
+ *--host=*) ;;
+ *) make check ;;
+ esac
after_failure: if [ -e test-suite.log ]; then cat test-suite.log; fi
@@ -35,8 +36,10 @@ env:
# via the "travis encrypt" command using the project repo's public key
- secure: "JWobvJ94pWt/xVciQURkNFS3I+gyu2IyZPKYEs6HDlHrpHs4BoVDZeRjmgx0s6aDeQjKJHowGDu17IlbnCkKzXrZErEJkA+Oc/d0SwgXKiUU9WYiaGBJjJUoYZw66QIEuGGKkF4uQ7EIcW/vN7wzrCDyAiPeOPUjVP4Tc2XRzmkSfakfmf9cE5nqT84DPUYiRegM7iepMrZi9kEaAoboBuETT+6eUKdERRadM0QNjZmCYMEMjtFj3lE51Ey2stGqZdKJvJN0FUmxGoaXCFFAsNmZPnFeDkqTf0a+MzxG2m4nnIXyNC/nT5XLItKHog4KROHb4tUpCZJ4iJhcw3loWMCtkZqB2fq2PaOkKk2zxPr3HLCn7ltmOzReBEDjEg68UqWydRW5534JGosbcA9IfshS1VqnZLgGwQHieXNeqhJUumt1DpON7AQEiEzbzAk0y2VcPlDPuCt9QS1k+zPMZLzbwgvs1 [...]
matrix:
- - CFLAGS=-m64
- - CFLAGS=-m32
+ - CONFIGFLAGS="CFLAGS=-m64 --enable-cuckoo --enable-magic"
+ - CONFIGFLAGS=CFLAGS=-m32
+ - CONFIGFLAGS=--host=x86_64-w64-mingw32
+ - CONFIGFLAGS=--host=i686-w64-mingw32
addons:
coverity_scan:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list