.gitlab-ci.yml 1.4 KB
Newer Older
Alexander David Hellwig's avatar
Alexander David Hellwig committed
1
stages:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
2
- windows
Alexander David Hellwig's avatar
Alexander David Hellwig committed
3
- linux
4
- integration
vonWenckstern's avatar
vonWenckstern committed
5

Alexander David Hellwig's avatar
Alexander David Hellwig committed
6 7 8 9 10
masterJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml
11
  - cat target/site/jacoco/index.html
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
12
  - mvn package sonar:sonar -s settings.xml
Alexander David Hellwig's avatar
Alexander David Hellwig committed
13 14 15
  only:
  - master

Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
16 17 18 19 20 21
masterJobWindows:
  stage: windows
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
  tags:
  - Windows10
Alexander David Hellwig's avatar
Alexander David Hellwig committed
22 23 24 25

BranchJobLinux:
  stage: linux
  image: maven:3-jdk-8
26 27 28
  artifacts:
    paths:
    - target/generated-sources-cmake/
29
    - target/generated-sources-ros2/
Alexander David Hellwig's avatar
Alexander David Hellwig committed
30 31
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
32
  - cat target/site/jacoco/index.html
Alexander David Hellwig's avatar
Alexander David Hellwig committed
33
  except:
34 35
  - 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 40 41 42 43
  dependencies:
    - BranchJobLinux
  except:
  - master
  script:
44
  - ./src/test/bash/integrationTestRos.sh
Your Name's avatar
Your Name committed
45 46 47 48 49 50 51 52 53 54

Ros2IntegrationJob:
  stage: integration
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emam2middleware/ema-ros-crystal
  dependencies:
    - BranchJobLinux
  except:
  - master
  script:
  - ./src/test/bash/integrationTestRos2.sh