summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2014-06-10 13:15:40 +0200
committerPascal Bach <pascal.bach@siemens.com>2014-06-10 13:44:02 +0200
commit569863a1385c38eb937662aa655db1c3fb0819fe (patch)
tree257419d25b8e4c5c886f3d5ae8bd5dbf937e1c7f /.travis.yml
parent42be4e818ada259080811a87fb239fa81222f581 (diff)
downloadthrift-569863a1385c38eb937662aa655db1c3fb0819fe.tar.gz
Allow cross build for windows using mingw32
- Build the compiler using CMake for: - Linux native gcc - Windows using mingw32
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 2ae6fcb08..d40e81cd4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -72,5 +72,7 @@ script:
- make -j$NUM_CPU && make dist
- make cross -j$NUM_CPU
- sh bootstrap.sh ; sh contrib/mingw-cross-compile.sh
+ - mkdir build_native && cd build_native && cmake ../compiler/cpp/ && make; cd ..
+ - mkdir build_mingw32 && cd build_mingw32 && cmake -DCMAKE_TOOLCHAIN_FILE=../contrib/mingw32-toolchain.cmake ../compiler/cpp/ && make; cd ..
# TODO: add these steps
# - sh bootstrap.sh ; dpkg-buildpackage -tc