-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
136 lines (126 loc) · 2.49 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
stages:
- build
- deploy
normal-build:linux:
stage: build
image: andreh11/qt:5.12.5-trusty
script:
- bash dist/linux/build.sh
except:
- master
- tags
normal-build:windows32:
stage: build
image: andreh11/qt-mxe:5.15-shared
variables:
WINDOWS_ARCH: "32bit"
script:
- bash dist/windows-mxe/build.sh
except:
- master
- tags
normal-build:windows64:
stage: build
image: andreh11/qt-mxe:5.15-shared
variables:
WINDOWS_ARCH: "64bit"
script:
- bash dist/windows-mxe/build.sh
except:
- master
- tags
master-build:linux:
stage: build
image: andreh11/qt:5.12.5-trusty
variables:
QROP_BUILD_TYPE: "snapshot"
script:
- bash dist/linux/build.sh
- bash dist/linux/deploy.sh
only:
- master
except:
- tags
master-build:windows32:
stage: build
image: andreh11/qt-mxe:5.15-shared
variables:
QROP_BUILD_TYPE: "snapshot"
WINDOWS_ARCH: "32bit"
script:
- bash dist/windows-mxe/build.sh
- bash dist/windows-mxe/deploy.sh
only:
- master
except:
- tags
master-build:windows64:
stage: build
image: andreh11/qt-mxe:5.15-shared
script:
variables:
QROP_BUILD_TYPE: "snapshot"
WINDOWS_ARCH: "64bit"
script:
- bash dist/windows-mxe/build.sh
- bash dist/windows-mxe/deploy.sh
only:
- master
except:
- tags
release-build:linux:
stage: build
image: andreh11/qt:5.12.5-trusty
variables:
QROP_BUILD_TYPE: "release"
script:
- bash dist/linux/build.sh
- bash dist/linux/deploy.sh
artifacts:
name: "$CI_COMMIT_REF_NAME"
paths:
- Qrop*.AppImage
expire_in: 1 weeks
only:
- tags
release-build:windows32:
stage: build
image: andreh11/qt-mxe:5.15-shared
variables:
QROP_BUILD_TYPE: "release"
WINDOWS_ARCH: "32bit"
script:
- bash dist/windows-mxe/build.sh
- bash dist/windows-mxe/deploy.sh
artifacts:
name: "$CI_COMMIT_REF_NAME"
paths:
- Qrop*.exe
expire_in: 1 weeks
only:
- tags
release-build:windows64:
stage: build
image: andreh11/qt-mxe:5.15-shared
variables:
QROP_BUILD_TYPE: "release"
WINDOWS_ARCH: "64bit"
script:
- bash dist/windows-mxe/build.sh
- bash dist/windows-mxe/deploy.sh
artifacts:
name: "$CI_COMMIT_REF_NAME"
paths:
- Qrop*.exe
expire_in: 1 weeks
only:
- tags
release-deploy:linux:
stage: deploy
image: andreh11/qt:5.12.5-trusty
variables:
QROP_BUILD_TYPE: "release"
script:
- bash dist/gitlab-release.sh
only:
- tags