2019-09-24 17:25:39 +02:00
|
|
|
stages:
|
2020-04-01 05:54:55 +02:00
|
|
|
- runtime
|
|
|
|
- portable
|
2019-10-07 02:17:33 +02:00
|
|
|
- deploy
|
2019-09-24 17:25:39 +02:00
|
|
|
|
2019-10-12 05:19:27 +02:00
|
|
|
LuaEngine Windows:
|
2020-04-01 05:54:55 +02:00
|
|
|
stage: runtime
|
2020-05-14 14:09:07 +02:00
|
|
|
image: syping/qt5-shared-llvm-mingw:5.12.8
|
2019-09-24 17:25:39 +02:00
|
|
|
variables:
|
|
|
|
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
|
|
|
script:
|
2019-10-17 13:03:33 +02:00
|
|
|
- mkdir -p ${CI_PROJECT_DIR}/build
|
|
|
|
- cd ${CI_PROJECT_DIR}/build
|
2019-10-18 15:26:59 +02:00
|
|
|
- qmake CONFIG+=WITH_LUAENGINE_COMPILER CONFIG+=WITH_LUAENGINE_RUNTIME ${CI_PROJECT_DIR}/luaengine.pro
|
2019-10-07 02:21:02 +02:00
|
|
|
- make -j4
|
2019-10-17 13:13:12 +02:00
|
|
|
- cp -Rf src/luaenginecore/release/LuaEngine.dll ${CI_PROJECT_DIR}/
|
|
|
|
- cp -Rf src/luaenginegui/release/LuaEngineGui.dll ${CI_PROJECT_DIR}/
|
|
|
|
- cp -Rf src/luaengineio/release/LuaEngineIO.dll ${CI_PROJECT_DIR}/
|
|
|
|
- cp -Rf src/luaengineos/release/LuaEngineOS.dll ${CI_PROJECT_DIR}/
|
2019-10-18 18:26:38 +02:00
|
|
|
- cp -Rf src/luaengine/release/luaengine.exe ${CI_PROJECT_DIR}/
|
2019-10-17 13:13:12 +02:00
|
|
|
- cp -Rf src/luaenginec/release/luaenginec.exe ${CI_PROJECT_DIR}/
|
2019-10-17 13:15:50 +02:00
|
|
|
- cd ${CI_PROJECT_DIR}
|
2019-10-07 02:17:33 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-10-12 05:19:27 +02:00
|
|
|
- "LuaEngine.dll"
|
2019-10-18 18:26:38 +02:00
|
|
|
- "luaengine.exe"
|
2019-10-14 21:19:14 +02:00
|
|
|
- "luaenginec.exe"
|
2019-10-12 05:19:27 +02:00
|
|
|
- "LuaEngineGui.dll"
|
|
|
|
- "LuaEngineIO.dll"
|
|
|
|
- "LuaEngineOS.dll"
|
2019-10-07 02:17:33 +02:00
|
|
|
|
2019-10-28 13:47:45 +01:00
|
|
|
LuaEngine Debian amd64:
|
2020-04-01 05:54:55 +02:00
|
|
|
stage: runtime
|
2019-10-28 16:09:28 +01:00
|
|
|
image: syping/debian9-qt5:amd64
|
2019-10-16 23:34:14 +02:00
|
|
|
script:
|
2019-10-17 13:03:33 +02:00
|
|
|
- mkdir -p ${CI_PROJECT_DIR}/build
|
|
|
|
- cd ${CI_PROJECT_DIR}/build
|
2019-10-18 15:26:59 +02:00
|
|
|
- /usr/lib/x86_64-linux-gnu/qt5/bin/qmake LUAENGINE_PREFIX=/usr LUAENGINE_LIBDIR=/usr/lib/x86_64-linux-gnu CONFIG+=WITH_LUAENGINE_COMPILER CONFIG+=WITH_LUAENGINE_RUNTIME ${CI_PROJECT_DIR}/luaengine.pro
|
2019-10-16 23:34:14 +02:00
|
|
|
- make -j4
|
|
|
|
- echo "LuaEngine" > description-pak
|
2019-10-17 13:13:12 +02:00
|
|
|
- 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=${CI_PROJECT_DIR}
|
2019-10-28 13:47:45 +01:00
|
|
|
- cd ${CI_PROJECT_DIR}
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- "luaengine_*.deb"
|
|
|
|
|
2020-04-01 05:54:55 +02:00
|
|
|
LuaEngine Debian armhf:
|
|
|
|
stage: runtime
|
|
|
|
image: syping/debian9-qt5:arm32v7
|
2019-10-28 13:47:45 +01:00
|
|
|
tags:
|
2020-04-01 05:54:55 +02:00
|
|
|
- armhf
|
2019-10-28 13:47:45 +01:00
|
|
|
script:
|
|
|
|
- mkdir -p ${CI_PROJECT_DIR}/build
|
|
|
|
- cd ${CI_PROJECT_DIR}/build
|
2020-04-01 05:54:55 +02:00
|
|
|
- /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake LUAENGINE_PREFIX=/usr LUAENGINE_LIBDIR=/usr/lib/arm-linux-gnueabihf CONFIG+=WITH_LUAENGINE_COMPILER CONFIG+=WITH_LUAENGINE_RUNTIME ${CI_PROJECT_DIR}/luaengine.pro
|
2019-10-28 13:47:45 +01:00
|
|
|
- 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=${CI_PROJECT_DIR}
|
2019-10-17 13:13:12 +02:00
|
|
|
- cd ${CI_PROJECT_DIR}
|
2019-10-16 23:34:14 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- "luaengine_*.deb"
|
|
|
|
|
|
|
|
LuaEngine PE Windows:
|
2020-04-01 05:54:55 +02:00
|
|
|
stage: portable
|
2020-05-14 14:09:07 +02:00
|
|
|
image: syping/qt5-static-llvm-mingw:5.12.8
|
2019-10-07 02:17:33 +02:00
|
|
|
variables:
|
|
|
|
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
|
|
|
script:
|
2019-10-17 13:03:33 +02:00
|
|
|
- mkdir -p ${CI_PROJECT_DIR}/build
|
|
|
|
- cd ${CI_PROJECT_DIR}/build
|
2019-10-18 15:26:59 +02:00
|
|
|
- qmake-static CONFIG+=WITH_LUAENGINE_APPSTUB ${CI_PROJECT_DIR}/luaengine.pro
|
2019-10-07 02:21:02 +02:00
|
|
|
- make -j4
|
2019-10-17 13:13:12 +02:00
|
|
|
- cp -Rf src/luaengineapp/release/LuaEngineApp.exe ${CI_PROJECT_DIR}/windows.le
|
|
|
|
- cd ${CI_PROJECT_DIR}
|
2019-10-07 02:17:33 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-10-14 21:19:14 +02:00
|
|
|
- "windows.le"
|
2019-10-07 02:17:33 +02:00
|
|
|
|
2019-10-07 02:19:01 +02:00
|
|
|
LuaEngine Setup:
|
2019-10-07 02:17:33 +02:00
|
|
|
stage: deploy
|
2020-05-14 14:09:07 +02:00
|
|
|
image: syping/qt5-shared-llvm-mingw:5.12.8
|
2019-10-07 02:17:33 +02:00
|
|
|
script:
|
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install nsis -qq
|
2019-10-18 15:26:59 +02:00
|
|
|
- makensis -NOCD ${CI_PROJECT_DIR}/.ci/luaengine.nsi
|
2019-09-24 17:25:39 +02:00
|
|
|
artifacts:
|
2019-09-25 14:29:52 +02:00
|
|
|
name: "luaengine-$CI_COMMIT_REF_NAME-${CI_COMMIT_SHA:0:8}"
|
2019-09-24 17:25:39 +02:00
|
|
|
paths:
|
2019-10-07 02:19:01 +02:00
|
|
|
- "luaengine_setup.exe"
|
2019-10-07 02:17:33 +02:00
|
|
|
dependencies:
|
2019-10-12 05:19:27 +02:00
|
|
|
- LuaEngine Windows
|
2019-10-16 23:34:14 +02:00
|
|
|
- LuaEngine PE Windows
|