Uses 4 processes for building and activate build on specific branch independant of tags
This commit is contained in:
+2
-2
@@ -64,5 +64,5 @@ deploy:
|
|||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
repo: WagicProject/wagic
|
repo: WagicProject/wagic
|
||||||
tags: true
|
tags: false
|
||||||
all_branches: true
|
branch: auto_releases
|
||||||
|
|||||||
+6
-6
@@ -38,11 +38,11 @@ if [ "$BUILD_TYPE" = "PSP" ]; then
|
|||||||
echo PSPDEV = $PSPDEV
|
echo PSPDEV = $PSPDEV
|
||||||
echo psp-config = `psp-config --psp-prefix`
|
echo psp-config = `psp-config --psp-prefix`
|
||||||
cd JGE
|
cd JGE
|
||||||
make -j 2
|
make -j 4
|
||||||
cd ..
|
cd ..
|
||||||
cd projects/mtg
|
cd projects/mtg
|
||||||
mkdir objs
|
mkdir objs
|
||||||
make -j 2
|
make -j 4
|
||||||
mkdir WTH
|
mkdir WTH
|
||||||
mkdir WTH/Res
|
mkdir WTH/Res
|
||||||
mv EBOOT.PBP WTH/
|
mv EBOOT.PBP WTH/
|
||||||
@@ -60,7 +60,7 @@ fi
|
|||||||
|
|
||||||
# we're building an Android binary here
|
# we're building an Android binary here
|
||||||
if [ "$BUILD_TYPE" = "Android" ]; then
|
if [ "$BUILD_TYPE" = "Android" ]; then
|
||||||
android-ndk-r9/ndk-build -C projects/mtg/Android -j2
|
android-ndk-r9/ndk-build -C projects/mtg/Android -j4
|
||||||
$ANDROID list targets
|
$ANDROID list targets
|
||||||
$ANDROID update project -t 1 -p projects/mtg/Android
|
$ANDROID update project -t 1 -p projects/mtg/Android
|
||||||
ant debug -f projects/mtg/Android/build.xml
|
ant debug -f projects/mtg/Android/build.xml
|
||||||
@@ -71,11 +71,11 @@ if [ "$BUILD_TYPE" = "Qt" ]; then
|
|||||||
mkdir qt-gui-build
|
mkdir qt-gui-build
|
||||||
cd qt-gui-build
|
cd qt-gui-build
|
||||||
$QMAKE ../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics
|
$QMAKE ../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics
|
||||||
make -j 2
|
make -j 4
|
||||||
cd ..
|
cd ..
|
||||||
# let's try an Intel linux binary in debug text-mode-only
|
# let's try an Intel linux binary in debug text-mode-only
|
||||||
$QMAKE projects/mtg/wagic-qt.pro CONFIG+=console CONFIG+=debug DEFINES+=CAPTURE_STDERR
|
$QMAKE projects/mtg/wagic-qt.pro CONFIG+=console CONFIG+=debug DEFINES+=CAPTURE_STDERR
|
||||||
make -j 2
|
make -j 4
|
||||||
|
|
||||||
# we're cross-compiling a Qt Windows version here,
|
# we're cross-compiling a Qt Windows version here,
|
||||||
# PATH is only set here to prevent colision
|
# PATH is only set here to prevent colision
|
||||||
@@ -86,7 +86,7 @@ if [ "$BUILD_TYPE" = "Qt" ]; then
|
|||||||
# mkdir win-cross
|
# mkdir win-cross
|
||||||
# cd win-cross
|
# cd win-cross
|
||||||
# /opt/mingw32/bin/qmake ../../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics
|
# /opt/mingw32/bin/qmake ../../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics
|
||||||
# make -j 2
|
# make -j 4
|
||||||
# cd release
|
# cd release
|
||||||
# cp ../../../projects/mtg/bin/fmod.dll .
|
# cp ../../../projects/mtg/bin/fmod.dll .
|
||||||
# cp /opt/mingw32/bin/QtCore4.dll .
|
# cp /opt/mingw32/bin/QtCore4.dll .
|
||||||
|
|||||||
Reference in New Issue
Block a user