add Debian build

This commit is contained in:
Syping 2019-10-16 23:34:14 +02:00
parent 40d974f804
commit af31ab5d6c

View file

@ -28,7 +28,24 @@ LuaEngine Windows:
- "LuaEngineIO.dll"
- "LuaEngineOS.dll"
LuaEngineApp:
LuaEngine Debian:
stage: build
image: debian:stretch
script:
- apt-get update -qq
- apt-get install checkinstall gcc g++ make qtbase5-dev -qq
- mkdir -p build
- cd build
- /usr/lib/x86_64-linux-gnu/qt5/bin/qmake LUAENGINE_PREFIX=/usr LUAENGINE_LIBDIR=/usr/lib/x86_64-linux-gnu CONFIG+=WITH_LUAENGINECOM CONFIG+=WITH_LUAENGINERUN ../luaengine.pro
- make -j4
- echo "LuaEngine" > description-pak
- checkinstall --default --fstrans=no --install=no --nodoc --pkgname=luaengine "--pkglicense=Apache 2.0" --pkggroup=utility --pkgrelease=deb9u${CI_PIPELINE_IID} "--maintainer=Syping GitLab \<gitlab@syping.de\>" --requires=libqt5core5a,libqt5gui5,libqt5widgets5,qttranslations5-l10n --provides=libluaengine,libluaenginegui,libluaengineio,libluaengineos --conflicts=libluaengine,libluaenginegui,libluaengineio,libluaengineos --pakdir=..
- cd ..
artifacts:
paths:
- "luaengine_*.deb"
LuaEngine PE Windows:
stage: build
image: syping/qt5-static-mingw-openssl:5.12.5
variables:
@ -56,4 +73,4 @@ LuaEngine Setup:
- "luaengine_setup.exe"
dependencies:
- LuaEngine Windows
- LuaEngineApp
- LuaEngine PE Windows