Skip to content
Snippets Groups Projects
Commit 3db57df3 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

Update .gitlab-ci.yml file

cache apt packages, part 6
parent eb6ed2e7
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,9 @@ build-native: # This job runs in the build stage, which runs first. ...@@ -47,7 +47,9 @@ 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 -n Dir::Cache="$PWD/apt" | tee /etc/apt/apt.conf.d/99cache - export APT_CACHE_DIR=`pwd`/apt-cache
- mkdir --parents --verbose $APT_CACHE_DIR/partial/
- echo dir::cache::archives="$APT_CACHE_DIR" | tee --append /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
......
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