Skip to content

Commit

Permalink
adds MinGW build test (#30)
Browse files Browse the repository at this point in the history
* adds travis scripts for mingw build test (32-bit and 64-bit)
  • Loading branch information
at-wat authored Dec 7, 2016
1 parent a5579a4 commit f55c604
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
dist: trusty
sudo: required
language: c
compiler: gcc
before_install:
- sudo apt-get update -y
- sudo apt-get install -y gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
script:
./configure && make && sudo make install
- mkdir build && cd build && ../configure && make
- cd ../
- mkdir build-win64 && cd build-win64 && ../configure CC='x86_64-w64-mingw32-gcc -m64 -static-libgcc' --enable-all-static --enable-shared --host=x86_64-w64-mingw32 && make
- cd ../
- mkdir build-win32 && cd build-win32 && ../configure CC='i686-w64-mingw32-gcc -m32 -static-libgcc' --enable-all-static --enable-shared --host=i686-w64-mingw32 && make
- cd ../

0 comments on commit f55c604

Please sign in to comment.