mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 14: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
|
- test
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
cache:
|
cache: &girara_cache
|
||||||
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
|
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
|
||||||
paths:
|
paths:
|
||||||
- subprojects/girara
|
- subprojects/girara
|
||||||
|
@ -18,6 +18,8 @@ build:archlinux:
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
- meson ..
|
- meson ..
|
||||||
- ninja
|
- ninja
|
||||||
|
cache:
|
||||||
|
<<: *girara_cache
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
paths:
|
paths:
|
||||||
|
@ -33,6 +35,9 @@ test:archlinux:
|
||||||
script:
|
script:
|
||||||
- cd build
|
- cd build
|
||||||
- ninja test
|
- ninja test
|
||||||
|
cache:
|
||||||
|
<<: *girara_cache
|
||||||
|
policy: pull
|
||||||
dependencies:
|
dependencies:
|
||||||
- build:archlinux
|
- build:archlinux
|
||||||
except:
|
except:
|
||||||
|
@ -48,6 +53,8 @@ build:debian-buster:
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
- meson ..
|
- meson ..
|
||||||
- ninja
|
- ninja
|
||||||
|
cache:
|
||||||
|
<<: *girara_cache
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
paths:
|
paths:
|
||||||
|
@ -63,6 +70,9 @@ test:debian-buster:
|
||||||
script:
|
script:
|
||||||
- cd build
|
- cd build
|
||||||
- ninja test
|
- ninja test
|
||||||
|
cache:
|
||||||
|
<<: *girara_cache
|
||||||
|
policy: pull
|
||||||
dependencies:
|
dependencies:
|
||||||
- build:debian-buster
|
- build:debian-buster
|
||||||
except:
|
except:
|
||||||
|
@ -78,6 +88,8 @@ build:ubuntu-bionic:
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
- meson ..
|
- meson ..
|
||||||
- ninja
|
- ninja
|
||||||
|
cache:
|
||||||
|
<<: *girara_cache
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
paths:
|
paths:
|
||||||
|
@ -93,6 +105,9 @@ test:ubuntu-bionic:
|
||||||
script:
|
script:
|
||||||
- cd build
|
- cd build
|
||||||
- ninja test
|
- ninja test
|
||||||
|
cache:
|
||||||
|
<<: *girara_cache
|
||||||
|
policy: pull
|
||||||
dependencies:
|
dependencies:
|
||||||
- build:ubuntu-bionic
|
- build:ubuntu-bionic
|
||||||
except:
|
except:
|
||||||
|
@ -108,6 +123,8 @@ build:ubuntu-eoan:
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
- meson ..
|
- meson ..
|
||||||
- ninja
|
- ninja
|
||||||
|
cache:
|
||||||
|
<<: *girara_cache
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
paths:
|
paths:
|
||||||
|
@ -123,6 +140,9 @@ test:ubuntu-eoan:
|
||||||
script:
|
script:
|
||||||
- cd build
|
- cd build
|
||||||
- ninja test
|
- ninja test
|
||||||
|
cache:
|
||||||
|
<<: *girara_cache
|
||||||
|
policy: pull
|
||||||
dependencies:
|
dependencies:
|
||||||
- build:ubuntu-eoan
|
- build:ubuntu-eoan
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue