forked from flibitijibibo/SDL2-CS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
58 lines (53 loc) · 812 Bytes
/
.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
stages:
- build
- package
- deploy
build_net461:
image: mono
stage: build
only:
- schedules
script:
- ./gitlab-ci/build-net461.sh
artifacts:
paths:
- bin/
tags:
- docker
build_netcore:
image: microsoft/dotnet:2.1-sdk
stage: build
only:
- schedules
script:
- ./gitlab-ci/build-netcore.sh
artifacts:
paths:
- bin/
tags:
- docker
package_nuget:
image: mono
stage: package
only:
- schedules
script:
- ./gitlab-ci/package.sh
dependencies:
- build_net461
- build_netcore
artifacts:
paths:
- '*.nupkg'
deploy_nuget:
image: mono
stage: deploy
only:
- schedules
script:
- ./gitlab-ci/deploy.sh
dependencies:
- package_nuget
environment:
name: nuget
url: http://nuget.org/