Update .gitlab-ci.yml file

cache apt packages, part 5
This commit is contained in:
Alam Ed Arias 2023-10-11 04:43:22 +00:00
parent 7231631a3f
commit eb6ed2e7e7

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" | tee /etc/apt/apt.conf.d/99cache - echo -n 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