Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2022-07-29 23:27:19 +0300
committerlovetox <philipp@hoerist.com>2022-07-30 00:04:43 +0300
commit54d4c9f8a326b96ef116a01e72429b84533cce77 (patch)
tree42f22d0e250c1e10139c3f680717fb09c29d1bc6 /.gitlab-ci.yml
parentb7cd7dcc3140044dddd1d67a7243a8290652f6a7 (diff)
ci: Split windows job into build and deploy stages
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml35
1 files changed, 16 insertions, 19 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d8b2a087b..af85961fb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,22 +84,18 @@ build-linux:
paths:
- dist/gajim-*.tar.gz
-build-and-deploy-windows:
+build-windows:
stage: build
dependencies: []
rules:
- if: '$GAJIM_NIGHTLY_BUILD'
- if: '$CI_COMMIT_TAG'
- variables:
- DEPLOY_TYPE: "windows"
script:
- python3 .ci/appveyor_build.py
- - python3 .ci/deploy.py build
-
- # artifacts:
- # expire_in: 1 day
- # paths:
- # - build/Gajim-*.exe
+ artifacts:
+ expire_in: 1 day
+ paths:
+ - build/*.json
deploy-linux:
stage: deploy
@@ -113,16 +109,17 @@ deploy-linux:
script:
- python3 .ci/deploy.py dist
-# deploy-windows:
-# stage: deploy
-# rules:
-# - if: '$GAJIM_NIGHTLY_BUILD'
-# - if: '$CI_COMMIT_TAG'
-# when: manual
-# variables:
-# DEPLOY_TYPE: "windows"
-# script:
-# - python3 .ci/deploy.py build
+deploy-windows:
+ stage: deploy
+ dependencies:
+ - build-windows
+ rules:
+ - if: '$GAJIM_NIGHTLY_BUILD'
+ - if: '$CI_COMMIT_TAG'
+ variables:
+ DEPLOY_TYPE: "windows"
+ script:
+ - python3 .ci/deploy.py build
deploy-flatpak:
image: git-deploy:latest