mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Update .gitlab-ci.yml file
cache the ccache
This commit is contained in:
parent
4adce8e3cd
commit
b3273a899a
1 changed files with 9 additions and 2 deletions
|
@ -23,15 +23,22 @@ stages: # List of stages for jobs, and their order of execution
|
|||
build-job: # This job runs in the build stage, which runs first.
|
||||
stage: build
|
||||
image: debian
|
||||
cache:
|
||||
- key:
|
||||
files:
|
||||
- .ccache/stats
|
||||
paths:
|
||||
- .ccache
|
||||
artifacts:
|
||||
paths:
|
||||
- "bin/*"
|
||||
|
||||
script:
|
||||
- ""
|
||||
- "apt update"
|
||||
- "apt-get install --no-install-recommends --yes build-essential libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev git libopenmpt-dev gettext ccache"
|
||||
- "ccache --max-size 10M"
|
||||
- "CC=\"ccache gcc\" make --directory=src"
|
||||
- "ccache --show-stats"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue