mirror of
https://git.suyu.dev/suyu/flatpak.git
synced 2025-01-04 21:36:03 +00:00
chore: make persistent ccache cache
This commit is contained in:
parent
9756a68e96
commit
f0e83624c0
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,7 @@ stages:
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
|
|
||||||
# This will check for updates using external data checker and send PRs to the repo
|
# This will check for updates using external data checker and send PRs to the repo
|
||||||
update-sources:
|
update-sources:
|
||||||
stage: setup
|
stage: setup
|
||||||
|
@ -52,7 +53,13 @@ flatpak:
|
||||||
variables:
|
variables:
|
||||||
# Stable Flathub repo
|
# Stable Flathub repo
|
||||||
RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
|
RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- ccache/
|
||||||
before_script:
|
before_script:
|
||||||
|
- mkdir -p ccache
|
||||||
|
- export CCACHE_BASEDIR=${PWD}
|
||||||
|
- export CCACHE_DIR=${PWD}/ccache
|
||||||
# Sets up the stable Flathub repository for dependencies
|
# Sets up the stable Flathub repository for dependencies
|
||||||
- flatpak remote-add --user --if-not-exists flathub ${RUNTIME_REPO}
|
- flatpak remote-add --user --if-not-exists flathub ${RUNTIME_REPO}
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue