add arm64 build

This commit is contained in:
Syping 2019-10-28 13:47:45 +01:00
parent 96f0511b0f
commit 384d034aa5

View file

@ -28,7 +28,7 @@ LuaEngine Windows:
- "LuaEngineIO.dll" - "LuaEngineIO.dll"
- "LuaEngineOS.dll" - "LuaEngineOS.dll"
LuaEngine Debian: LuaEngine Debian amd64:
stage: build stage: build
image: debian:stretch image: debian:stretch
script: script:
@ -45,6 +45,25 @@ LuaEngine Debian:
paths: paths:
- "luaengine_*.deb" - "luaengine_*.deb"
LuaEngine Debian arm64:
stage: build
image: debian:stretch
tags:
- arm64
script:
- apt-get update -qq
- apt-get install checkinstall gcc g++ make qtbase5-dev -qq
- mkdir -p ${CI_PROJECT_DIR}/build
- cd ${CI_PROJECT_DIR}/build
- /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
- 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}
- cd ${CI_PROJECT_DIR}
artifacts:
paths:
- "luaengine_*.deb"
LuaEngine PE Windows: LuaEngine PE Windows:
stage: build stage: build
image: syping/qt5-static-mingw-openssl:5.12.5 image: syping/qt5-static-mingw-openssl:5.12.5