mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Travis: test mobile build under Linux-Trusty-Qt-5.12
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5ce4b3d5eb
commit
804a5be71f
2 changed files with 8 additions and 1 deletions
|
@ -9,6 +9,10 @@ set -e
|
||||||
export PATH=$QT_ROOT/bin:$PATH # Make sure correct qmake is found on the $PATH for linuxdeployqt
|
export PATH=$QT_ROOT/bin:$PATH # Make sure correct qmake is found on the $PATH for linuxdeployqt
|
||||||
export CMAKE_PREFIX_PATH=$QT_ROOT/lib/cmake
|
export CMAKE_PREFIX_PATH=$QT_ROOT/lib/cmake
|
||||||
|
|
||||||
|
# first make sure that no one broke Subsurface-mobile
|
||||||
|
bash -e -x /subsurface/scripts/build.sh -mobile -quick
|
||||||
|
|
||||||
|
# now build our AppImage
|
||||||
bash -e -x /subsurface/scripts/build.sh -desktop -create-appdir -build-with-webkit -quick
|
bash -e -x /subsurface/scripts/build.sh -desktop -create-appdir -build-with-webkit -quick
|
||||||
|
|
||||||
export QT_PLUGIN_PATH=$QT_ROOT/plugins
|
export QT_PLUGIN_PATH=$QT_ROOT/plugins
|
||||||
|
|
|
@ -8,6 +8,9 @@ set -e
|
||||||
|
|
||||||
docker exec -t trusty-qt512 bash subsurface/scripts/linux-trusty-qt512/in-container-build.sh 2>&1 | tee build.log
|
docker exec -t trusty-qt512 bash subsurface/scripts/linux-trusty-qt512/in-container-build.sh 2>&1 | tee build.log
|
||||||
|
|
||||||
# fail the build if we didn't create the target binary
|
# fail the build if we didn't create Subsurface-mobile
|
||||||
|
grep "Built target subsurface-mobile" build.log
|
||||||
|
|
||||||
|
# fail the build if we didn't create the AppImage
|
||||||
grep "Please consider submitting your AppImage to AppImageHub" build.log
|
grep "Please consider submitting your AppImage to AppImageHub" build.log
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue