From af31ab5d6c5e3f3d4c281da59eb6a5ae7e9285da Mon Sep 17 00:00:00 2001 From: Syping Date: Wed, 16 Oct 2019 23:34:14 +0200 Subject: [PATCH] add Debian build --- .gitlab-ci.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 647575a..86072d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \" --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