Build: try to build libraries with mingw on travis-ci

This commit is contained in:
Christian Beer 2017-02-17 14:04:00 +01:00
parent 2ab3ef93ac
commit 2370eba78f
1 changed files with 11 additions and 0 deletions

View File

@ -45,6 +45,15 @@ addons:
- libsqlite3-dev
- libgtk2.0-dev
- libwebkitgtk-dev
- mingw-w64
- binutils-mingw-w64-i686
- binutils-mingw-w64-x86-64
- gcc-mingw-w64
- gcc-mingw-w64-i686
- gcc-mingw-w64-x86-64
- g++-mingw-w64
- g++-mingw-w64-i686
- g++-mingw-w64-x86-64
env:
global:
@ -57,6 +66,7 @@ env:
- BOINC_TYPE=client
- BOINC_TYPE=apps
- BOINC_TYPE=manager
- BOINC_TYPE=libs-mingw
#- BOINC_TYPE=coverity
matrix:
@ -71,3 +81,4 @@ script:
- if [[ "${BOINC_TYPE}" == "client" ]]; then ( ./configure --disable-server --disable-manager && make ) fi
- if [[ "${BOINC_TYPE}" == "apps" ]]; then ( ./configure --enable-apps --disable-server --disable-client --disable-manager && make ) fi
- if [[ "${BOINC_TYPE}" == "manager" ]]; then ( ./build/getWxWidgets.sh && ./configure --disable-server --disable-client --with-wxdir=./build/wxWidgets-3.0.2/buildgtk && make ) fi
- if [[ "${BOINC_TYPE}" == "libs-mingw" ]]; then ( cd lib && CC=/usr/bin/x86_64-w64-mingw32-gcc; CXX=/usr/bin/x86_64-w64-mingw32-g++; make -f Makefile.mingw ) fi