.gitlab-ci.yml 1.58 KB
Newer Older
Theresa Täuber's avatar
Theresa Täuber committed
1
#
Jean Meurice's avatar
Jean Meurice committed
2
# (c) https://github.com/MontiCore/monticore
Theresa Täuber's avatar
Theresa Täuber committed
3
#
Jean Meurice's avatar
Jean Meurice committed
4
5
# The license generally applicable for this project
# can be found under https://github.com/MontiCore/monticore.
Christoph von Oy's avatar
Christoph von Oy committed
6
#
Jean Meurice's avatar
Jean Meurice committed
7

Bernhard Rumpe's avatar
BR-sy    
Bernhard Rumpe committed
8
# (c) https://github.com/MontiCore/monticore  
Christoph von Oy's avatar
Christoph von Oy committed
9
10
#

ham's avatar
CI  
ham committed
11
stages:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
12
- windows
hengwen's avatar
hengwen committed
13
- linux
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
14
- integration-test
ham's avatar
CI  
ham committed
15

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#masterJobLinux:
#  stage: linux
#  image: maven:3.6-jdk-8
#  before_script:
#  - apt-get update
#  - apt-get install -y openjfx
#  script: 
#  - mv lib/fmu_for_linux/*.fmu lib/
#  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy sonar:sonar --settings settings.xml
##  - cat report/target/coverage-report/html/index.html
#  only:
#  - master
 
masterJobWindows:
  stage: windows
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml
Hengwen Zhang's avatar
Hengwen Zhang committed
33
  - mvn package sonar:sonar -s settings.xml
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
34
35
  tags:
  - Windows10
Christoph von Oy's avatar
Christoph von Oy committed
36
37
  only:
  - master
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
38
  
39
40
41
42
43
44
45
46
branchJobWindows:
 stage: windows
 script:
 - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
 tags:
 - Windows10
 except:
 - master
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
47

48
49
50
51
52
53
54
55
# BranchJobLinux:
#   stage: linux
#   image: hwzzz/openjdk-openjfx:latest
#   script:
#   - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
#   - cat report/target/coverage-report/html/index.html
#   except:
#   - master
hengwen's avatar
hengwen committed
56

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
57
58
59
60
61
62
63
#IntegrateionTest:
#  tags:
#    - docker
#  stage: integration-test
#  script:
#    - cd runner
#    - ./run_test.sh
Christoph von Oy's avatar
Christoph von Oy committed
64
#  except:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
65
#    - master