-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
55 lines (50 loc) · 1.18 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
variables:
GIT_STRATEGY: clone
GIT_CHECKOUT: 'true'
GIT_CLEAN_FLAGS: -ffdx
stages:
- build
- cleanup
- build-prerelease
- cleanup-prerelease
build_job:
stage: build
tags:
- windows
script:
- eng/common/build.ps1 -restore -build -test -sign -pack -publish -publishArtifacts -configuration release -ci -officialbuild
artifacts:
expire_in: 1 week
when: always
paths:
- _build/log/release/
- _build/results/
- _build/testresults/
cleanup_job:
stage: cleanup
tags:
- windows
script:
- eng/common/build.ps1 -clean -force
when: manual
build-prerelease_job:
stage: build-prerelease
tags:
- windows
script:
- eng/common/build.ps1 -restore -build -test -sign -pack -publish -publishArtifacts -configuration release -ci -officialbuild -dotNetFinalVersionKind prerelease
artifacts:
expire_in: 1 week
when: always
paths:
- _build/log/release/
- _build/results/
- _build/testresults/
when: manual
cleanup-prerelease_job:
stage: cleanup-prerelease
tags:
- windows
script:
- eng/common/build.ps1 -clean -force
when: manual