From 384d034aa5c8f082be82c562c4fe78c25ae94be5 Mon Sep 17 00:00:00 2001 From: Syping Date: Mon, 28 Oct 2019 13:47:45 +0100 Subject: [PATCH] add arm64 build --- .gitlab-ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36a19bb..9a98f44 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,7 @@ LuaEngine Windows: - "LuaEngineIO.dll" - "LuaEngineOS.dll" -LuaEngine Debian: +LuaEngine Debian amd64: stage: build image: debian:stretch script: @@ -45,6 +45,25 @@ LuaEngine Debian: paths: - "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 \" --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: stage: build image: syping/qt5-static-mingw-openssl:5.12.5