-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
109 lines (102 loc) · 1.61 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
stages:
- build
- package
- test
build:win:
stage: build
before_script:
- chcp 65001
- git submodule update --init --recursive
- "Get-ChildItem env:"
script:
- cd nuget
- git clean -fxd .
- pwsh BuildWindows.ps1
tags:
- windows
- cuda
artifacts:
paths:
- nuget/artifacts
build:ubuntu:
stage: build
before_script:
- git submodule update --init --recursive
- export
script:
- cd nuget
- pwsh BuildUbuntu18.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
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: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 TestPackageUbuntu18.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