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

Update .gitlab-ci.yml file

cache apt packages, part 3
parent 3ef89e99
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ build-native: # This job runs in the build stage, which runs first.
- ccache
- key: apt
paths:
- /var/cache/apt/
- apt
artifacts:
paths:
- "bin/*"
......@@ -47,6 +47,7 @@ build-native: # This job runs in the build stage, which runs first.
- export CCACHE_BASEDIR="$PWD"
- export CCACHE_DIR="$PWD/ccache"
- export CCACHE_COMPILERCHECK=content
- echo Dir::Cache="$PWD/apt" > /etc/apt/apt.conf.d/99cache
- apt-get update
- apt-get install --no-install-recommends --yes ccache
- 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