From 6a705e508fb6ab5f9fc9a9824898fb8bb2c4195d Mon Sep 17 00:00:00 2001 From: Simon Praetorius Date: Sun, 30 Oct 2016 22:34:26 +0100 Subject: [PATCH] changed gitlab-ci configuration to use artifacts --- .gitlab-ci.yml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63dcaaaf..a524434b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,6 @@ --- image: mathiwr/amdis-base:debian9 -cache: - key: "$CI_BUILD_REF_NAME" - untracked: true - paths: - - install/ - stages: - build - demo @@ -18,6 +12,11 @@ build:9-debug-gcc: stage: build script: - tools/build_amdis.sh --stage build --config Debug + artifacts: + paths: + - install/ + name: "$CI_BUILD_NAME" + expire_in: 6 hrs only: - master @@ -25,6 +24,11 @@ build:9-release-gcc: stage: build script: - tools/build_amdis.sh --stage build --config Release + artifacts: + paths: + - install/ + name: "$CI_BUILD_NAME" + expire_in: 6 hrs only: - master @@ -32,6 +36,11 @@ build:9-parallel-debug-gcc: stage: build script: - tools/build_amdis.sh --stage build --config Debug --parallel + artifacts: + paths: + - install/ + name: "$CI_BUILD_NAME" + expire_in: 6 hrs only: - master @@ -39,6 +48,11 @@ build:9-parallel-release-gcc: stage: build script: - tools/build_amdis.sh --stage build --config Release --parallel + artifacts: + paths: + - install/ + name: "$CI_BUILD_NAME" + expire_in: 6 hrs only: - master -- GitLab