1
0
Fork 0
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:
Fijxu 2024-03-09 21:23:49 -03:00
parent 9756a68e96
commit f0e83624c0
No known key found for this signature in database

View file

@ -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: