mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-26 22:16:01 +01:00
Cache CI
This commit is contained in:
parent
88cdc850af
commit
15aac5c2e0
1 changed files with 21 additions and 1 deletions
|
@ -3,7 +3,7 @@ stages:
|
|||
- test
|
||||
|
||||
# Cache
|
||||
cache:
|
||||
cache: &girara_cache
|
||||
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
|
||||
paths:
|
||||
- subprojects/girara
|
||||
|
@ -18,6 +18,8 @@ build:archlinux:
|
|||
- mkdir -p build && cd build
|
||||
- meson ..
|
||||
- ninja
|
||||
cache:
|
||||
<<: *girara_cache
|
||||
artifacts:
|
||||
expire_in: 1 day
|
||||
paths:
|
||||
|
@ -33,6 +35,9 @@ test:archlinux:
|
|||
script:
|
||||
- cd build
|
||||
- ninja test
|
||||
cache:
|
||||
<<: *girara_cache
|
||||
policy: pull
|
||||
dependencies:
|
||||
- build:archlinux
|
||||
except:
|
||||
|
@ -48,6 +53,8 @@ build:debian-buster:
|
|||
- mkdir -p build && cd build
|
||||
- meson ..
|
||||
- ninja
|
||||
cache:
|
||||
<<: *girara_cache
|
||||
artifacts:
|
||||
expire_in: 1 day
|
||||
paths:
|
||||
|
@ -63,6 +70,9 @@ test:debian-buster:
|
|||
script:
|
||||
- cd build
|
||||
- ninja test
|
||||
cache:
|
||||
<<: *girara_cache
|
||||
policy: pull
|
||||
dependencies:
|
||||
- build:debian-buster
|
||||
except:
|
||||
|
@ -78,6 +88,8 @@ build:ubuntu-bionic:
|
|||
- mkdir -p build && cd build
|
||||
- meson ..
|
||||
- ninja
|
||||
cache:
|
||||
<<: *girara_cache
|
||||
artifacts:
|
||||
expire_in: 1 day
|
||||
paths:
|
||||
|
@ -93,6 +105,9 @@ test:ubuntu-bionic:
|
|||
script:
|
||||
- cd build
|
||||
- ninja test
|
||||
cache:
|
||||
<<: *girara_cache
|
||||
policy: pull
|
||||
dependencies:
|
||||
- build:ubuntu-bionic
|
||||
except:
|
||||
|
@ -108,6 +123,8 @@ build:ubuntu-eoan:
|
|||
- mkdir -p build && cd build
|
||||
- meson ..
|
||||
- ninja
|
||||
cache:
|
||||
<<: *girara_cache
|
||||
artifacts:
|
||||
expire_in: 1 day
|
||||
paths:
|
||||
|
@ -123,6 +140,9 @@ test:ubuntu-eoan:
|
|||
script:
|
||||
- cd build
|
||||
- ninja test
|
||||
cache:
|
||||
<<: *girara_cache
|
||||
policy: pull
|
||||
dependencies:
|
||||
- build:ubuntu-eoan
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue