Commit e743c658 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

implement artifacts and dependencies in gitlab-ci

parent 866b205b
--- ---
image: mathiwr/amdis-base:debian9 image: mathiwr/amdis-base:debian9
cache:
- install/
stages: stages:
- build - build
- demo - demo
...@@ -15,6 +12,9 @@ build:9-debug-gcc: ...@@ -15,6 +12,9 @@ build:9-debug-gcc:
stage: build stage: build
script: script:
- tools/build_amdis.sh --stage build --config Debug - tools/build_amdis.sh --stage build --config Debug
artifacts:
paths:
- install/
only: only:
- master - master
...@@ -22,6 +22,9 @@ build:9-release-gcc: ...@@ -22,6 +22,9 @@ build:9-release-gcc:
stage: build stage: build
script: script:
- tools/build_amdis.sh --stage build --config Release - tools/build_amdis.sh --stage build --config Release
artifacts:
paths:
- install/
only: only:
- master - master
...@@ -29,6 +32,9 @@ build:9-parallel-debug-gcc: ...@@ -29,6 +32,9 @@ build:9-parallel-debug-gcc:
stage: build stage: build
script: script:
- tools/build_amdis.sh --stage build --config Debug --parallel - tools/build_amdis.sh --stage build --config Debug --parallel
artifacts:
paths:
- install/
only: only:
- master - master
...@@ -36,6 +42,9 @@ build:9-parallel-release-gcc: ...@@ -36,6 +42,9 @@ build:9-parallel-release-gcc:
stage: build stage: build
script: script:
- tools/build_amdis.sh --stage build --config Release --parallel - tools/build_amdis.sh --stage build --config Release --parallel
artifacts:
paths:
- install/
only: only:
- master - master
...@@ -45,6 +54,8 @@ demo:9-debug-gcc: ...@@ -45,6 +54,8 @@ demo:9-debug-gcc:
stage: demo stage: demo
script: script:
- tools/build_amdis.sh --stage demo --config Debug - tools/build_amdis.sh --stage demo --config Debug
dependencies:
- build:9-debug-gcc
only: only:
- master - master
...@@ -52,6 +63,8 @@ demo:9-release-gcc: ...@@ -52,6 +63,8 @@ demo:9-release-gcc:
stage: demo stage: demo
script: script:
- tools/build_amdis.sh --stage demo --config Release - tools/build_amdis.sh --stage demo --config Release
dependencies:
- build:9-release-gcc
only: only:
- master - master
...@@ -59,6 +72,8 @@ demo:9-parallel-debug-gcc: ...@@ -59,6 +72,8 @@ demo:9-parallel-debug-gcc:
stage: demo stage: demo
script: script:
- tools/build_amdis.sh --stage demo --config Debug --parallel - tools/build_amdis.sh --stage demo --config Debug --parallel
dependencies:
- build:9-parallel-debug-gcc
only: only:
- master - master
...@@ -66,6 +81,8 @@ demo:9-parallel-release-gcc: ...@@ -66,6 +81,8 @@ demo:9-parallel-release-gcc:
stage: demo stage: demo
script: script:
- tools/build_amdis.sh --stage demo --config Release --parallel - tools/build_amdis.sh --stage demo --config Release --parallel
dependencies:
- build:9-parallel-release-gcc
only: only:
- master - master
...@@ -75,6 +92,8 @@ test:9-debug-gcc: ...@@ -75,6 +92,8 @@ test:9-debug-gcc:
stage: test stage: test
script: script:
- tools/build_amdis.sh --stage test --config Debug - tools/build_amdis.sh --stage test --config Debug
dependencies:
- build:9-debug-gcc
only: only:
- master - master
...@@ -82,6 +101,8 @@ test:9-release-gcc: ...@@ -82,6 +101,8 @@ test:9-release-gcc:
stage: test stage: test
script: script:
- tools/build_amdis.sh --stage test --config Release - tools/build_amdis.sh --stage test --config Release
dependencies:
- build:9-release-gcc
only: only:
- master - master
...@@ -89,6 +110,8 @@ test:9-parallel-debug-gcc: ...@@ -89,6 +110,8 @@ test:9-parallel-debug-gcc:
stage: test stage: test
script: script:
- tools/build_amdis.sh --stage test --config Debug --parallel - tools/build_amdis.sh --stage test --config Debug --parallel
dependencies:
- build:9-parallel-debug-gcc
only: only:
- master - master
...@@ -96,6 +119,8 @@ test:9-parallel-release-gcc: ...@@ -96,6 +119,8 @@ test:9-parallel-release-gcc:
stage: test stage: test
script: script:
- tools/build_amdis.sh --stage test --config Release --parallel - tools/build_amdis.sh --stage test --config Release --parallel
dependencies:
- build:9-parallel-release-gcc
only: only:
- master - master
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment