add --target-duration option
[benchmarks.git] / .gitlab-ci.yml
1 image: debian:10
2
3 cache:
4 when: always
5 paths:
6 - ccache
7
8 build:
9 stage: build
10 before_script:
11 - apt-get update
12 # one package per line to simplify sorting, git diff, etc.
13 - >-
14 apt-get -y install
15 ccache
16 git
17 make
18 sudo
19 - export PATH="/usr/lib/ccache:$PATH"
20 - export CCACHE_BASEDIR="$PWD"
21 - export CCACHE_DIR="$PWD/ccache"
22 - export CCACHE_COMPILERCHECK=content
23 - ccache --zero-stats || true
24 - ccache --show-stats || true
25 script:
26 - make -j$(nproc)