.gitlab-ci.yml 2.48 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

masterJobLinux:
Nils Freyer's avatar
Nils Freyer committed
28
  stage: deploy
29 30
  image: maven:3-jdk-8
  script: 
Nils Freyer's avatar
Nils Freyer committed
31
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml -DskipTests
32 33
  - cat target/site/jacoco/index.html
  - mvn package sonar:sonar -s settings.xml
34 35
  only:
  - master
Christopher Jan-Steffen Brix's avatar
Christopher Jan-Steffen Brix committed
36

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

43 44 45

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

50
  
Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
51 52 53
masterJobWindows:
  stage: windows
  script:
54
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml -Dtest=!Integration*
Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
55 56
  tags:
  - Windows10
57 58
  except:
  - oneclick_nn_training
59

Nils Freyer's avatar
Nils Freyer committed
60
UnitTestJobLinux:
61 62 63
  stage: linux
  image: maven:3-jdk-8
  script: 
64
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml -Dtest=!Integration*
65
  - cat target/site/jacoco/index.html
Nils Freyer's avatar
Nils Freyer committed
66