shithub: cstory

Download patch

ref: 55090dc7cc49d03933503b983c2a5ed918df2d8a
parent: 29eecc26c9a4273feaeef67930f538c0ea64327d
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Jan 23 09:23:02 EST 2020

Attempt to build release and debug binaries

Also build static binaries, since that's what's intended for the
Windows builds

--- a/.travis.yml
+++ b/.travis.yml
@@ -32,8 +32,8 @@
         - 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 @@
     # 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 @@
 
 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