--- /dev/null
+image: debian:10
+
+cache:
+ when: always
+ paths:
+ - ccache
+
+build:
+ stage: build
+ before_script:
+ - apt-get update
+ # one package per line to simplify sorting, git diff, etc.
+ - >-
+ apt-get -y install
+ ccache
+ git
+ make
+ sudo
+ - export PATH="/usr/lib/ccache:$PATH"
+ - export CCACHE_BASEDIR="$PWD"
+ - export CCACHE_DIR="$PWD/ccache"
+ - export CCACHE_COMPILERCHECK=content
+ - ccache --zero-stats || true
+ - ccache --show-stats || true
+ script:
+ - make -j$(nproc)
\ No newline at end of file