From b839ec7c94d51b7c9cd52be95db3bc73d12a8369 Mon Sep 17 00:00:00 2001 From: Vincent Texier <vit@free.fr> Date: Mon, 28 Sep 2020 12:08:28 +0200 Subject: [PATCH] [enh] #817 add AppImage build to .gitlab-ci.yml --- .gitlab-ci.yml | 22 ++++++++++++++++++++-- ci/appimage/config.env | 2 +- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a3d1daa3..d984cf41 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,7 +82,25 @@ build: - pip install -r requirements_deploy.txt - make build -release: +release_appimage: + extends: + - .env + - .changes + stage: release + when: manual + script: + - apt-get install wget + - pip install -r requirements.txt + - pip install -r requirements_deploy.txt + - make build + - make appimage + artifacts: + paths: + - ci/appimage/Sakia_x86_64.AppImage +# only: +# - master + +release_pypi: extends: - .env - .push_to_github @@ -96,7 +114,7 @@ release: only: - master -release_test: +release_pypi_test: extends: .env stage: release when: manual diff --git a/ci/appimage/config.env b/ci/appimage/config.env index 0282bc25..aec598fc 100644 --- a/ci/appimage/config.env +++ b/ci/appimage/config.env @@ -5,5 +5,5 @@ export PYTHON_SOURCE=https://www.python.org/ftp/python/3.6.10/Python-3.6.10.tgz export PIP_REQUIREMENTS=$(pwd)/../../dist/sakia-${version}-py3-none-any.whl # linuxdeploy appimage plugin -export OUTPUT=Sakia_x86_64-${version}.AppImage +export OUTPUT=Sakia_x86_64.AppImage -- GitLab