.gitlab-ci.yml 3.17 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#
#
#  ******************************************************************************
#  MontiCAR Modeling Family, www.se-rwth.de
#  Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
#  All rights reserved.
#
#  This project is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Lesser General Public
#  License as published by the Free Software Foundation; either
#  version 3.0 of the License, or (at your option) any later version.
#  This library is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#  Lesser General Public License for more details.
#
#  You should have received a copy of the GNU Lesser General Public
#  License along with this project. If not, see <http://www.gnu.org/licenses/>.
# *******************************************************************************
#
vonWenckstern's avatar
vonWenckstern committed
21

22
stages:
23
- windows
24
- linux
Nils Freyer's avatar
Nils Freyer committed
25
- deploy
26

27 28

git masterJobLinux:
Nils Freyer's avatar
Nils Freyer committed
29
  stage: deploy
30 31
  image: maven:3-jdk-8
  script: 
Nils Freyer's avatar
Nils Freyer committed
32
  - 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
33
#  - cat target/site/jacoco/index.html
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
34
#  - mvn package sonar:sonar -s settings.xml
35 36
  only:
  - master
Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
37

38

Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
39
integrationMXNetJobLinux:
Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
40
  stage: linux
41
  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
42
  script:
Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
43
  - 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
44

45 46 47

integrationCaffe2JobLinux:
  stage: linux
48
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/caffe2:v0.0.5
49 50
  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
51

52

Nicola Gatto's avatar
Nicola Gatto committed
53 54 55 56 57 58
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

59 60 61 62 63 64 65 66

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
67 68 69
masterJobWindows:
  stage: windows
  script:
70
  - 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
71 72
  tags:
  - Windows10
Nils Freyer's avatar
Nils Freyer committed
73

74

Nils Freyer's avatar
Nils Freyer committed
75
UnitTestJobLinux:
76 77 78
  stage: linux
  image: maven:3-jdk-8
  script: 
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
79
  - 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
80
#  - cat target/site/jacoco/index.html
Nils Freyer's avatar
Nils Freyer committed
81