Update .gitlab-ci.yml file

cache apt packages, part 4
This commit is contained in:
Alam Ed Arias 2023-10-11 04:39:48 +00:00
parent 9597a19ecf
commit 7231631a3f

View file

@ -47,7 +47,7 @@ build-native: # 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
- echo Dir::Cache="$PWD/apt" > /etc/apt/apt.conf.d/99cache - echo Dir::Cache="$PWD/apt" | tee /etc/apt/apt.conf.d/99cache
- apt-get update - apt-get update
- apt-get install --no-install-recommends --yes ccache - apt-get install --no-install-recommends --yes ccache
- ccache --zero-stats || true - ccache --zero-stats || true