diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40c9b055364252d9bef490719e63cc4efaf591bc..08d5f7d53a73f261b5ed1f351ab57f4dbba75ec6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,11 +32,15 @@ linux:build: - cmake $CI_PROJECT_DIR -GNinja -DCMAKE_CXX_FLAGS="-fdiagnostics-color" -DUSE_CPPCHECK=FALSE -DCMAKE_BUILD_TYPE=Release -DCPACK_GENERATOR=DEB - ninja - cache: # use artifacts instead if multiple runners available + cache: key: $CI_COMMIT_SHORT_SHA paths: - build/ + artifacts: + paths: + - build/ + linux:test: only: - main