-
Notifications
You must be signed in to change notification settings - Fork 24
/
.gitlab-ci.yml
144 lines (134 loc) · 2.22 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
137
138
139
140
141
142
143
144
variables:
GIT_CLEAN_FLAGS: -ffdx -e build_*
stages:
- build
- package
- test
build:win:
stage: build
before_script:
- chcp 65001
- git submodule update --init --recursive
- "Get-ChildItem env:"
script:
- cd nuget
- pwsh BuildWindows.ps1
- pwsh BuildUniversalWindowsPlatform.ps1
tags:
- windows
- cuda
artifacts:
paths:
- nuget/artifacts
build:ubuntu:
stage: build
before_script:
- git submodule update --init --recursive
- export
script:
- cd nuget
- pwsh BuildUbuntu16.ps1
- pwsh BuildAndroid.ps1
tags:
- linux
- cuda
artifacts:
paths:
- nuget/artifacts
# build:cent:
# stage: build
# before_script:
# - git submodule update --init --recursive
# - export
# script:
# - cd nuget
# - pwsh BuildCentOS7.ps1
# tags:
# - linux
# - cuda
# artifacts:
# paths:
# - nuget/artifacts
build:osx:
stage: build
before_script:
- git submodule update --init --recursive
- export
script:
- cd nuget
- pwsh BuildOSX.ps1
- pwsh BuildIOS.ps1
tags:
- osx
artifacts:
paths:
- nuget/artifacts
package:
stage: package
before_script:
- chcp 65001
script:
- cd nuget
- pwsh CreateAllPackage.ps1
tags:
- windows
dependencies:
- build:win
- build:ubuntu
# - build:cent
- build:osx
artifacts:
paths:
- nuget/*.nupkg
test:win:
stage: test
before_script:
- chcp 65001
script:
- cd nuget
- pwsh TestPackageWindows.ps1
tags:
- windows
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test
test:ubuntu:
stage: test
script:
- cd nuget
- pwsh TestPackageUbuntu16.ps1
tags:
- linux
- cuda
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test
# test:cent:
# stage: test
# script:
# - cd nuget
# - pwsh TestPackageCentOS7.ps1
# tags:
# - linux
# - cuda
# dependencies:
# - package
# artifacts:
# paths:
# - nuget/artifacts/test
test:osx:
stage: test
script:
- cd nuget
- pwsh TestPackageOSX.ps1
tags:
- osx
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test