-
Notifications
You must be signed in to change notification settings - Fork 171
/
.gitlab-ci.yml
64 lines (57 loc) · 1.54 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
stages:
- publish_launcher
- build
- publish
publishWindowsExecutable:
stage: publish_launcher
tags:
- windows
script:
- cmd.exe "/c gradlew --no-daemon -i --no-build-cache clean PackrLauncher:publish"
publishLinuxExecutable:
stage: publish_launcher
tags:
- ubuntu
script:
- ./gradlew --no-daemon -i --no-build-cache clean PackrLauncher:publish
publishOsxExecutable:
stage: publish_launcher
tags:
- osx
script:
- ./gradlew --no-daemon -i --no-build-cache clean PackrLauncher:publish
buildWindows:
stage: build
needs: [ "publishWindowsExecutable", "publishLinuxExecutable", "publishOsxExecutable" ]
tags:
- windows
script:
- cmd.exe "/c gradlew --no-daemon -i --no-build-cache --refresh-dependencies clean build"
artifacts:
when: always
reports:
junit: ./**/build/test-results/test/**/TEST-*.xml
buildMac:
stage: build
needs: [ "publishWindowsExecutable", "publishLinuxExecutable", "publishOsxExecutable" ]
tags:
- osx
script:
- ./gradlew --no-daemon -i --no-build-cache --refresh-dependencies clean build
artifacts:
when: always
reports:
junit: ./**/build/test-results/test/**/TEST-*.xml
publishLinux:
stage: publish
needs: [ "publishWindowsExecutable", "publishLinuxExecutable", "publishOsxExecutable" ]
tags:
- ubuntu
script:
- ./gradlew --no-daemon -i --no-build-cache --refresh-dependencies clean build publish
artifacts:
when: always
reports:
junit: ./**/build/test-results/test/**/TEST-*.xml
after_script:
- echo "End CI"