diff options
author | Antenore Gatta (tmow) <antenore@simbiosi.org> | 2021-05-11 16:23:51 +0300 |
---|---|---|
committer | Antenore Gatta (tmow) <antenore@simbiosi.org> | 2021-05-11 16:23:51 +0300 |
commit | 3826694376575dca8c4a9185767866cc755e1772 (patch) | |
tree | 36c251939bb28cbd9176be58a7615c5fbcdd4126 /.gitlab-ci.yml | |
parent | 446660672061d77b80acca3ca20be76296abbdb6 (diff) |
Improving CI cache
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 11 |
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 |