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

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta (tmow) <antenore@simbiosi.org>2021-05-11 16:23:51 +0300
committerAntenore Gatta (tmow) <antenore@simbiosi.org>2021-05-11 16:23:51 +0300
commit3826694376575dca8c4a9185767866cc755e1772 (patch)
tree36c251939bb28cbd9176be58a7615c5fbcdd4126 /.gitlab-ci.yml
parent446660672061d77b80acca3ca20be76296abbdb6 (diff)
Improving CI cache
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 43e8ff7ff..3f9831f52 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,9 @@ variables:
DOCKER_IMAGE: ubuntu:bionic
CMAKE_BUILD_OPTIONS: "-DCMAKE_BUILD_TYPE=Release -DWITH_APPINDICATOR=on -DWITH_FREERDP3=OFF"
FLATPAK_ARCH: x86_64
+cache: &global_cache
+ key: ${CI_JOB_NAME}
+ policy: pull-push
before_script:
- mkdir -p .flatpak-builder/cache
ubuntu:devel:
@@ -84,10 +87,12 @@ flatpak:test:
- flatpak/remmina-dev.flatpak
expire_in: 7 days
cache:
+ <<: *global_cache
paths:
- - flatpak/.flatpak-builder/cache
- - flatpak/.flatpak-builder/downloads
- - flatpak/.flatpak-builder/git
+ - flatpak/.flatpak-builder/cache/
+ - flatpak/.flatpak-builder/ccache/
+ - flatpak/.flatpak-builder/downloads/
+ - flatpak/.flatpak-builder/git/
only:
- merge_requests
- tags