From ee6a06a51e7864180513c4d4a1794dca5d3ea186 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Fri, 26 Apr 2019 17:40:07 +0200 Subject: [PATCH] ci: split crypto into build and test stages --- .gitlab-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 962ca9459..4e01980e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -105,6 +105,16 @@ build legacy emu: untracked: true expire_in: 1 day +build crypto: + stage: build + script: + - cd crypto + - pipenv run make + artifacts: + name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" + untracked: true + expire_in: 1 day + test core unix unit: stage: test dependencies: @@ -143,10 +153,10 @@ test legacy emu: test crypto: stage: test - dependencies: [] # no need to download artifacts + dependencies: + - build crypto script: - cd crypto - - pipenv run make - ./tests/aestst - ./tests/test_check - CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./tests/test_check