.gitlab-ci.yml 2.6 KB
Newer Older
Bernhard Rumpe's avatar
BR-sy  
Bernhard Rumpe committed
1
# (c) https://github.com/MontiCore/monticore  
vonWenckstern's avatar
vonWenckstern committed
2

3
stages:
4
- windows
5
- linux
Nils Freyer's avatar
Nils Freyer committed
6
- deploy
7

8 9

git masterJobLinux:
Nils Freyer's avatar
Nils Freyer committed
10
  stage: deploy
11 12
  image: maven:3-jdk-8
  script: 
Nils Freyer's avatar
Nils Freyer committed
13
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml -DskipTests
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
14
#  - cat target/site/jacoco/index.html
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
15
#  - mvn package sonar:sonar -s settings.xml
16 17
  only:
  - master
Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
18

19

Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
20
integrationMXNetJobLinux:
Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
21
  stage: linux
22
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/mxnet:v0.0.3
Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
23
  script:
Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
24
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml -Dtest=IntegrationMXNetTest
Nils Freyer's avatar
Nils Freyer committed
25

26 27 28

integrationCaffe2JobLinux:
  stage: linux
29
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/caffe2:v0.0.5
30 31
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml -Dtest=IntegrationCaffe2Test
Nils Freyer's avatar
Nils Freyer committed
32

33

Nicola Gatto's avatar
Nicola Gatto committed
34 35 36 37 38 39
integrationGluonJobLinux:
  stage: linux
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/mxnet:v0.0.3
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml -Dtest=IntegrationGluonTest

40 41 42 43 44 45
integrationTensorflowJobLinux:
  stage: linux
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/tensorflow
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml -Dtest=IntegrationTensorflowTest

46 47 48 49 50 51 52 53

integrationPythonWrapperTest:
  stage: linux
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2pythonwrapper/tests/mvn-swig:latest
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml -Dtest=IntegrationPythonWrapperTest


Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
54 55 56
masterJobWindows:
  stage: windows
  script:
57
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -U clean install --settings settings.xml -Dtest="GenerationTest,SymtabTest"
Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
58 59
  tags:
  - Windows10
Nils Freyer's avatar
Nils Freyer committed
60

61

Nils Freyer's avatar
Nils Freyer committed
62
UnitTestJobLinux:
63 64 65
  stage: linux
  image: maven:3-jdk-8
  script: 
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
66
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install sonar:sonar --settings settings.xml -Dtest="GenerationTest,SymtabTest*"
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
67
#  - cat target/site/jacoco/index.html
Nils Freyer's avatar
Nils Freyer committed
68