.gitlab-ci.yml 1.3 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
    - call mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml -U
Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
11 12
  tags:
  - Windows10
13

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

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

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

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
47
    - CompileJobLinux
Your Name's avatar
Your Name committed
48 49
  script:
  - ./src/test/bash/integrationTestRos2.sh