Commit 545baf1b authored by Alberto Mardegan's avatar Alberto Mardegan Committed by Alberto Mardegan

CI: Use a global cache for all jobs

parent 6a7a8a2c
......@@ -4,6 +4,14 @@ cache:
key: apt-cache
paths:
- apt-cache/
# for build_dependencies
- dbus
- exiv2
- opencv
# for test-desktop
- lcov
# for appimage
- tools
stages:
- deps
......@@ -27,12 +35,6 @@ before_script:
build_dependencies:
stage: deps
cache:
paths:
- apt-cache/
- dbus
- exiv2
- opencv
artifacts:
paths:
- staging
......@@ -152,10 +154,6 @@ build_desktop:
test_desktop:
stage: test
cache:
paths:
- apt-cache/
- lcov
script:
- LCOV_DIR="$PWD/lcov"
- 'if [ ! -x "$LCOV_DIR/bin/geninfo" ]; then'
......@@ -178,10 +176,6 @@ appimage:
- tags
dependencies:
- build_dependencies
cache:
paths:
- apt-cache/
- tools
artifacts:
paths:
- appimage/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment