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

Update .gitlab-ci.yml file

auto cache our apt cache
parent dc2a5b94
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ build-native: # This job runs in the build stage, which runs first. ...@@ -49,7 +49,7 @@ build-native: # This job runs in the build stage, which runs first.
- mkdir --parents --verbose $APT_CACHE_DIR/partial/ - mkdir --parents --verbose $APT_CACHE_DIR/partial/
- apt-get update - apt-get update
- apt-get -o dir::cache::archives="$APT_CACHE_DIR" install --no-install-recommends --yes build-essential libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev git libopenmpt-dev gettext ccache - apt-get -o dir::cache::archives="$APT_CACHE_DIR" install --no-install-recommends --yes build-essential libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev git libopenmpt-dev gettext ccache
- apt-get autoclean - apt-get -o dir::cache::archives="$APT_CACHE_DIR" autoclean
- export CCACHE_BASEDIR="$PWD" - export CCACHE_BASEDIR="$PWD"
- export CCACHE_DIR="$PWD/ccache" - export CCACHE_DIR="$PWD/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