.gitlab-ci.yml 2.82 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
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
32
#  - cat target/site/jacoco/index.html
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
33
#  - mvn package sonar:sonar -s settings.xml
34 35
  only:
  - master
36

37
integrationMXNetJobLinux:
38
  stage: linux
39
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/mxnet:v0.0.3
40
  script:
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.5
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

Nicola Gatto's avatar
Nicola Gatto committed
50 51 52 53 54 55
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

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

64

Nils Freyer's avatar
Nils Freyer committed
65
UnitTestJobLinux:
66 67 68
  stage: linux
  image: maven:3-jdk-8
  script: 
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
69
  - 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
70
#  - cat target/site/jacoco/index.html
Nils Freyer's avatar
Nils Freyer committed
71