Update .gitlab-ci.yml file

fix ccache path part four
This commit is contained in:
Logan Arias 2023-10-11 02:09:54 +00:00 committed by Logan-A
parent 16741b2cb0
commit 84a2463d2f

View file

@ -42,6 +42,8 @@ build-job: # This job runs in the build stage, which runs first.
- export CCACHE_BASEDIR="$PWD" - export CCACHE_BASEDIR="$PWD"
- export CCACHE_DIR="$PWD/ccache" - export CCACHE_DIR="$PWD/ccache"
- export CCACHE_COMPILERCHECK=content - export CCACHE_COMPILERCHECK=content
- apt update
- apt-get install --no-install-recommends ccache
- ccache --max-size $CCMaxSize - ccache --max-size $CCMaxSize
- ccache --zero-stats || true - ccache --zero-stats || true
- ccache --show-stats || true - ccache --show-stats || true
@ -55,8 +57,7 @@ build-job: # This job runs in the build stage, which runs first.
- echo "$CI_JOB_NAME_SLUG" - echo "$CI_JOB_NAME_SLUG"
- echo "$CCACHE_DIR" - echo "$CCACHE_DIR"
- echo Are we running on DO? "$DigitalOceanDebianMirror" - echo Are we running on DO? "$DigitalOceanDebianMirror"
- 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
- apt-get install --no-install-recommends --yes build-essential libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev git libopenmpt-dev gettext ccache
- make --directory=src - make --directory=src