.gitlab-ci.yml 1.54 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
33
34
#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
  tags:
  - Windows10
Christoph von Oy's avatar
Christoph von Oy committed
35
36
  only:
  - master
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
37
  
38
39
40
41
42
43
44
45
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
46

47
48
49
50
51
52
53
54
# 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
55

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