mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +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.
|
build-job: # This job runs in the build stage, which runs first.
|
||||||
stage: build
|
stage: build
|
||||||
image: debian
|
image: debian
|
||||||
|
cache:
|
||||||
|
- key:
|
||||||
|
files:
|
||||||
|
- .ccache/stats
|
||||||
|
paths:
|
||||||
|
- .ccache
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "bin/*"
|
- "bin/*"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ""
|
|
||||||
- "apt update"
|
- "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"
|
- "apt-get install --no-install-recommends --yes build-essential libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev git libopenmpt-dev gettext ccache"
|
||||||
- "CC=\"ccache gcc\" make --directory=src "
|
- "ccache --max-size 10M"
|
||||||
|
- "CC=\"ccache gcc\" make --directory=src"
|
||||||
|
- "ccache --show-stats"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue