Attempt to build release and debug binaries
Also build static binaries, since that's what's intended for the Windows builds
This commit is contained in:
parent
29eecc26c9
commit
55090dc7cc
1 changed files with 4 additions and 7 deletions
11
.travis.yml
11
.travis.yml
|
@ -32,8 +32,8 @@ addons:
|
|||
- mingw-w64
|
||||
|
||||
#env:
|
||||
# - BUILD_TYPE=Debug
|
||||
# - BUILD_TYPE=RelWithDebInfo
|
||||
- MAKE_BUILD_TYPE=RELEASE=0
|
||||
- MAKE_BUILD_TYPE=RELEASE=1
|
||||
|
||||
before_install:
|
||||
# Set URL for Discord send script
|
||||
|
@ -46,9 +46,6 @@ before_install:
|
|||
# Display Travis OS name
|
||||
- echo $TRAVIS_OS_NAME
|
||||
|
||||
# Display build type
|
||||
# - echo $BUILD_TYPE
|
||||
|
||||
# Display compilers name/version
|
||||
- echo ${CC}
|
||||
- echo ${CXX}
|
||||
|
@ -62,10 +59,10 @@ install:
|
|||
|
||||
script:
|
||||
# Compile 32-bit build
|
||||
- make -j ${JOBS} FIX_BUGS=1 RELEASE=1 WARNINGS=1 WARNINGS_ALL=1 WINDOWS=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ WINDRES=i686-w64-mingw32-windres
|
||||
- make -j ${JOBS} FIX_BUGS=1 ${MAKE_BUILD_TYPE} WARNINGS=1 WARNINGS_ALL=1 WINDOWS=1 STATIC=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ WINDRES=i686-w64-mingw32-windres
|
||||
|
||||
# Compile 64-bit build
|
||||
- make -j ${JOBS} FIX_BUGS=1 RELEASE=1 WARNINGS=1 WARNINGS_ALL=1 WINDOWS=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ WINDRES=x86_64-w64-mingw32-windres
|
||||
- make -j ${JOBS} FIX_BUGS=1 ${MAKE_BUILD_TYPE} WARNINGS=1 WARNINGS_ALL=1 WINDOWS=1 STATIC=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ WINDRES=x86_64-w64-mingw32-windres
|
||||
|
||||
after_success:
|
||||
# Send success notification to Discord through DISCORD_WEBHOOK_URL
|
||||
|
|
Loading…
Add table
Reference in a new issue