-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
58 lines (53 loc) · 1.01 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
before_script:
- echo "before script"
stages:
- build
- test
- deploy
- clean
build_job:
stage: build
only:
- branches
- web
script:
- cd .\\scripts
- "powershell -file .\\build.ps1"
artifacts:
paths:
- .\output\Release\Quanti.Utils.0.0.1.nupkg
- .\output\Release\Quanti.WPF.Utils.0.0.1.nupkg
- .\output\Release\Quanti.Utils.S20.0.0.1.nupkg
expire_in: 1 week
deploy_job:
stage: deploy
variables:
GIT_STRATEGY: none
script:
- cd .\\scripts
- "powershell -file .\\deploy.ps1"
when: manual
environment:
name: repository.quanti.cz
url: https://repository.quanti.cz/#browse/browse/components:QuantiNET
allow_failure: false
clean_job:
stage: clean
variables:
GIT_STRATEGY: none
only:
- branches
- web
script:
- cd .\\scripts
- "powershell -file .\\clean.ps1"
test_build:
stage: test
variables:
GIT_STRATEGY: none
only:
- branches
- web
script:
- cd .\\scripts
- "powershell -file .\\test.ps1"