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

deployment stage in gitlab-ci added

parent f99c0309
......@@ -5,6 +5,7 @@ stages:
- build
- demo
- test
- package
# compile amdis
......@@ -18,7 +19,7 @@ build:9-debug-gcc:
name: "$CI_BUILD_NAME"
expire_in: 6 hrs
only:
- master
- develop
build:9-release-gcc:
stage: build
......@@ -30,7 +31,7 @@ build:9-release-gcc:
name: "$CI_BUILD_NAME"
expire_in: 6 hrs
only:
- master
- develop
build:9-parallel-debug-gcc:
stage: build
......@@ -42,7 +43,7 @@ build:9-parallel-debug-gcc:
name: "$CI_BUILD_NAME"
expire_in: 6 hrs
only:
- master
- develop
build:9-parallel-release-gcc:
stage: build
......@@ -54,7 +55,7 @@ build:9-parallel-release-gcc:
name: "$CI_BUILD_NAME"
expire_in: 6 hrs
only:
- master
- develop
# compile the demos
......@@ -65,7 +66,7 @@ demo:9-debug-gcc:
dependencies:
- build:9-debug-gcc
only:
- master
- develop
demo:9-release-gcc:
stage: demo
......@@ -74,7 +75,7 @@ demo:9-release-gcc:
dependencies:
- build:9-release-gcc
only:
- master
- develop
demo:9-parallel-debug-gcc:
stage: demo
......@@ -83,7 +84,7 @@ demo:9-parallel-debug-gcc:
dependencies:
- build:9-parallel-debug-gcc
only:
- master
- develop
demo:9-parallel-release-gcc:
stage: demo
......@@ -92,7 +93,7 @@ demo:9-parallel-release-gcc:
dependencies:
- build:9-parallel-release-gcc
only:
- master
- develop
# compiel and run the tests
......@@ -103,7 +104,7 @@ test:9-debug-gcc:
dependencies:
- build:9-debug-gcc
only:
- master
- develop
test:9-release-gcc:
stage: test
......@@ -112,7 +113,7 @@ test:9-release-gcc:
dependencies:
- build:9-release-gcc
only:
- master
- develop
test:9-parallel-debug-gcc:
stage: test
......@@ -121,7 +122,7 @@ test:9-parallel-debug-gcc:
dependencies:
- build:9-parallel-debug-gcc
only:
- master
- develop
test:9-parallel-release-gcc:
stage: test
......@@ -130,4 +131,47 @@ test:9-parallel-release-gcc:
dependencies:
- build:9-parallel-release-gcc
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
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