.gitlab-ci.yml 1.48 KB
Newer Older
1
stages:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
2
- windows
3
- linuxCompile
4
- integration
5
- linuxDeploy
6

Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
7 8 9
masterJobWindows:
  stage: windows
  script:
10 11
    - call mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B dependency:purge-local-repository -DactTransitively=false --settings settings.xml
    - call mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml
Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
12 13
  tags:
  - Windows10
14

15 16
CompileJobLinux:
  stage: linuxCompile
17
  image: maven:3-jdk-8
18 19
  artifacts:
    paths:
20 21
    - target/
    expire_in: 1 day
22 23
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
24
  - cat target/site/jacoco/index.html
25 26 27 28 29 30 31 32 33 34 35

DeployJobLinux:
  stage: linuxDeploy
  image: maven:3-jdk-8
  dependencies:
    - CompileJobLinux
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B deploy --settings settings.xml
  only:
  - master

Your Name's avatar
Your Name committed
36
RosIntegrationJob:
37
  stage: integration
38
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emam2middleware/ema-ros-kinetic
39
  dependencies:
40
    - CompileJobLinux
41
  script:
42
  - ./src/test/bash/integrationTestRos.sh
Your Name's avatar
Your Name committed
43 44 45 46 47

Ros2IntegrationJob:
  stage: integration
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emam2middleware/ema-ros-crystal
  dependencies:
Alexander David Hellwig's avatar
Alexander David Hellwig committed
48
    - CompileJobLinux
Your Name's avatar
Your Name committed
49 50
  script:
  - ./src/test/bash/integrationTestRos2.sh