.gitlab-ci.yml 1.6 KB
Newer Older
Bernhard Rumpe's avatar
BR-sy  
Bernhard Rumpe committed
1
# (c) https://github.com/MontiCore/monticore  
Alexander David Hellwig's avatar
Alexander David Hellwig committed
2
stages:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
3
- windows
4
- linuxCompile
5
- integration
6
- linuxDeploy
Alexander David Hellwig's avatar
Alexander David Hellwig committed
7

Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
8 9
masterJobWindows:
  stage: windows
10
  allow_failure: true
Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
11
  script:
12
    - 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
13 14
  tags:
  - Windows10
Alexander David Hellwig's avatar
Alexander David Hellwig committed
15

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

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

Mike Grüne's avatar
Mike Grüne committed
37 38
MqttIntegrationJob:
  stage: integration
39
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emam2mqtt:7cfc2da6e
Mike Grüne's avatar
Mike Grüne committed
40 41 42 43 44
  dependencies:
    - CompileJobLinux
  script:
    - ./src/test/bash/integrationTestMqtt.sh

Your Name's avatar
Your Name committed
45
RosIntegrationJob:
46
  stage: integration
47
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emam2middleware/ema-ros-kinetic
48
  dependencies:
49
    - CompileJobLinux
50
  script:
51
  - ./src/test/bash/integrationTestRos.sh
Your Name's avatar
Your Name committed
52 53 54 55 56

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