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

Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
7 8 9 10 11 12
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
13

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

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

FakeDeployJobLinux:
  stage: linuxDeploy
  image: maven:3-jdk-8
  dependencies:
    - CompileJobLinux
  script:
  - echo "branch != master => skipping deploy"
  - ls target
Alexander David Hellwig's avatar
Alexander David Hellwig committed
43
  except:
44 45
  - master

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

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