Added a build specific for mac
This commit is contained in:
@@ -67,8 +67,8 @@ if [ "$BUILD_ANDROID" = "YES" ]; then
|
||||
ant debug -f projects/mtg/Android/build.xml
|
||||
fi
|
||||
|
||||
# we're building a Qt version with GUI here
|
||||
if [ "$BUILD_Qt" = "YES" ]; then
|
||||
# we're building a linux Qt version with GUI here
|
||||
if [ "$BUILD_Qt" = "YES" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
||||
mkdir qt-gui-build
|
||||
cd qt-gui-build
|
||||
$QMAKE ../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics
|
||||
@@ -84,3 +84,10 @@ if [ "$BUILD_Qt" = "YES" ]; then
|
||||
../../wagic
|
||||
cd ../..
|
||||
fi
|
||||
# we're building a mac Qt version with GUI here
|
||||
if [ "$BUILD_Qt" = "YES" ] && [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
||||
mkdir qt-gui-build
|
||||
cd qt-gui-build
|
||||
$QMAKE ../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics
|
||||
make -j 4 dmg
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user