Skip to content
Snippets Groups Projects
Commit b3273a89 authored by Logan Aerl Arias's avatar Logan Aerl Arias Committed by Logan Aerl Arias
Browse files

Update .gitlab-ci.yml file

cache the ccache
parent 4adce8e3
No related branches found
No related tags found
No related merge requests found
...@@ -23,15 +23,22 @@ stages: # List of stages for jobs, and their order of execution ...@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment