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

deployment stage in gitlab-ci added

parent f99c0309
...@@ -5,6 +5,7 @@ stages: ...@@ -5,6 +5,7 @@ stages:
- build - build
- demo - demo
- test - test
- package
# compile amdis # compile amdis
...@@ -18,7 +19,7 @@ build:9-debug-gcc: ...@@ -18,7 +19,7 @@ build:9-debug-gcc:
name: "$CI_BUILD_NAME" name: "$CI_BUILD_NAME"
expire_in: 6 hrs expire_in: 6 hrs
only: only:
- master - develop
build:9-release-gcc: build:9-release-gcc:
stage: build stage: build
...@@ -30,7 +31,7 @@ build:9-release-gcc: ...@@ -30,7 +31,7 @@ build:9-release-gcc:
name: "$CI_BUILD_NAME" name: "$CI_BUILD_NAME"
expire_in: 6 hrs expire_in: 6 hrs
only: only:
- master - develop
build:9-parallel-debug-gcc: build:9-parallel-debug-gcc:
stage: build stage: build
...@@ -42,7 +43,7 @@ build:9-parallel-debug-gcc: ...@@ -42,7 +43,7 @@ build:9-parallel-debug-gcc:
name: "$CI_BUILD_NAME" name: "$CI_BUILD_NAME"
expire_in: 6 hrs expire_in: 6 hrs
only: only:
- master - develop
build:9-parallel-release-gcc: build:9-parallel-release-gcc:
stage: build stage: build
...@@ -54,7 +55,7 @@ build:9-parallel-release-gcc: ...@@ -54,7 +55,7 @@ build:9-parallel-release-gcc:
name: "$CI_BUILD_NAME" name: "$CI_BUILD_NAME"
expire_in: 6 hrs expire_in: 6 hrs
only: only:
- master - develop
# compile the demos # compile the demos
...@@ -65,7 +66,7 @@ demo:9-debug-gcc: ...@@ -65,7 +66,7 @@ demo:9-debug-gcc:
dependencies: dependencies:
- build:9-debug-gcc - build:9-debug-gcc
only: only:
- master - develop
demo:9-release-gcc: demo:9-release-gcc:
stage: demo stage: demo
...@@ -74,7 +75,7 @@ demo:9-release-gcc: ...@@ -74,7 +75,7 @@ demo:9-release-gcc:
dependencies: dependencies:
- build:9-release-gcc - build:9-release-gcc
only: only:
- master - develop
demo:9-parallel-debug-gcc: demo:9-parallel-debug-gcc:
stage: demo stage: demo
...@@ -83,7 +84,7 @@ demo:9-parallel-debug-gcc: ...@@ -83,7 +84,7 @@ demo:9-parallel-debug-gcc:
dependencies: dependencies:
- build:9-parallel-debug-gcc - build:9-parallel-debug-gcc
only: only:
- master - develop
demo:9-parallel-release-gcc: demo:9-parallel-release-gcc:
stage: demo stage: demo
...@@ -92,7 +93,7 @@ demo:9-parallel-release-gcc: ...@@ -92,7 +93,7 @@ demo:9-parallel-release-gcc:
dependencies: dependencies:
- build:9-parallel-release-gcc - build:9-parallel-release-gcc
only: only:
- master - develop
# compiel and run the tests # compiel and run the tests
...@@ -103,7 +104,7 @@ test:9-debug-gcc: ...@@ -103,7 +104,7 @@ test:9-debug-gcc:
dependencies: dependencies:
- build:9-debug-gcc - build:9-debug-gcc
only: only:
- master - develop
test:9-release-gcc: test:9-release-gcc:
stage: test stage: test
...@@ -112,7 +113,7 @@ test:9-release-gcc: ...@@ -112,7 +113,7 @@ test:9-release-gcc:
dependencies: dependencies:
- build:9-release-gcc - build:9-release-gcc
only: only:
- master - develop
test:9-parallel-debug-gcc: test:9-parallel-debug-gcc:
stage: test stage: test
...@@ -121,7 +122,7 @@ test:9-parallel-debug-gcc: ...@@ -121,7 +122,7 @@ test:9-parallel-debug-gcc:
dependencies: dependencies:
- build:9-parallel-debug-gcc - build:9-parallel-debug-gcc
only: only:
- master - develop
test:9-parallel-release-gcc: test:9-parallel-release-gcc:
stage: test stage: test
...@@ -130,4 +131,47 @@ test:9-parallel-release-gcc: ...@@ -130,4 +131,47 @@ test:9-parallel-release-gcc:
dependencies: dependencies:
- build:9-parallel-release-gcc - build:9-parallel-release-gcc
only: only:
- develop
# compiel and run the tests
package:9-debug-gcc:
stage: package
script:
- cmake -P -DCONFIG=Debug -DCOMPONENT=SEQUENTIAL tools/package/debian/create_package.cmake
artifacts:
paths:
- debian_package/amdis-dbg/amdis*.deb
only:
- master - master
package:9-release-gcc:
stage: package
script:
- cmake -P -DCONFIG=Release -DCOMPONENT=SEQUENTIAL tools/package/debian/create_package.cmake
artifacts:
paths:
- debian_package/amdis/amdis*.deb
only:
- master
package:9-parallel-debug-gcc:
stage: package
script:
- cmake -P -DCONFIG=Debug -DCOMPONENT=PARALLEL tools/package/debian/create_package.cmake
artifacts:
paths:
- debian_package/amdis-dbg/amdis-par-dbg*.deb
only:
- master
package:9-parallel-release-gcc:
stage: package
script:
- cmake -P -DCONFIG=Release -DCOMPONENT=PARALLEL tools/package/debian/create_package.cmake
artifacts:
paths:
- debian_package/amdis-dbg/amdis-par*.deb
only:
- 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