-
Notifications
You must be signed in to change notification settings - Fork 60
/
.gitlab-ci.yml
36 lines (34 loc) · 1.3 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
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
buildNet45:
stage: build
image : mono:latest
script:
- cd /builds/yar229/WebDavMailRuCloud/
- nuget restore
- MONO_IOMAP=case msbuild /t:"Restore;Build" /p:Configuration="Release" /p:Platform="Any CPU" WebDAVMailRuCloud.sln
artifacts:
name: "WebDAVCloudMailRu_${CI_COMMIT_TAG}_dotNet45"
when: on_success
paths:
- /builds/yar229/WebDavMailRuCloud/WDMRC.Console/bin/Release/net452/*.exe
- /builds/yar229/WebDavMailRuCloud/WDMRC.Console/bin/Release/net452/*.dll
- /builds/yar229/WebDavMailRuCloud/WDMRC.Console/bin/Release/net452/*.config
- /builds/yar229/WebDavMailRuCloud/readme.md
buildCore20:
stage: build
image : microsoft/dotnet:latest
script:
- 'dotnet restore'
- 'dotnet publish -c Release -f netcoreapp2.0'
artifacts:
name: "WebDAVCloudMailRu_${CI_COMMIT_TAG}_dotNetCore20"
when: on_success
paths:
- /builds/yar229/WebDavMailRuCloud/WDMRC.Console/bin/Release/netcoreapp2.0/publish/*.exe
- /builds/yar229/WebDavMailRuCloud/WDMRC.Console/bin/Release/netcoreapp2.0/publish/*.dll
- /builds/yar229/WebDavMailRuCloud/WDMRC.Console/bin/Release/netcoreapp2.0/publish/*.config
- /builds/yar229/WebDavMailRuCloud/WDMRC.Console/bin/Release/netcoreapp2.0/publish/*.json
- /builds/yar229/WebDavMailRuCloud/readme.md