add build matrix to support win32-build via cross compiler for windows platform.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>pull/432/head
parent
7a850a4131
commit
ce01b413b1
16
.travis.yml
16
.travis.yml
|
@ -2,10 +2,15 @@ before_install:
|
||||||
- sudo apt-get install cmake python3
|
- sudo apt-get install cmake python3
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- TRAVIS_NO_EXPORT=YES
|
matrix:
|
||||||
- TRAVIS_NO_EXPORT=NO
|
- LINUX=1 TRAVIS_NO_EXPORT=YES
|
||||||
- TRAVIS_STATIC_BUILD=ON
|
- LINUX=1 TRAVIS_NO_EXPORT=NO
|
||||||
- TRAVIS_STATIC_BUILD=OFF
|
- LINUX=1 TRAVIS_STATIC_BUILD=ON
|
||||||
|
- LINUX=1 TRAVIS_STATIC_BUILD=OFF
|
||||||
|
- WINDOWS=1 TRAVIS_NO_EXPORT=YES
|
||||||
|
- WINDOWS=1 TRAVIS_NO_EXPORT=NO
|
||||||
|
- WINDOWS=1 TRAVIS_STATIC_BUILD=ON
|
||||||
|
- WINDOWS=1 TRAVIS_STATIC_BUILD=OFF
|
||||||
|
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
|
@ -13,6 +18,9 @@ compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
|
|
||||||
|
install:
|
||||||
|
- if [ $WINDOWS ]; then travis_retry sudo apt-get install -q -y gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cmake -G "Unix Makefiles" -DASSIMP_ENABLE_BOOST_WORKAROUND=YES -DASSIMP_NO_EXPORT=$TRAVIS_NO_EXPORT -STATIC_BUILD=$TRAVIS_STATIC_BUILD
|
- cmake -G "Unix Makefiles" -DASSIMP_ENABLE_BOOST_WORKAROUND=YES -DASSIMP_NO_EXPORT=$TRAVIS_NO_EXPORT -STATIC_BUILD=$TRAVIS_STATIC_BUILD
|
||||||
- make
|
- make
|
||||||
|
|
Loading…
Reference in New Issue