-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
46 lines (41 loc) · 878 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
.shared_windows_runners:
tags:
- shared-windows
- windows
- windows-1809
stages:
- build
- test
before_script:
- Set-Variable -Name "time" -Value (date -Format "%H:%m")
- echo "job ${CI_JOB_NAME} started by ${GITLAB_USER_NAME} at ${time}"
build:upstream_release:
extends:
- .shared_windows_runners
stage: build
interruptible: true
script:
- echo "running scripts in the build job"
- .\Build-PsadtPlus.ps1
artifacts:
paths:
- PSADTPlus*.zip
expire_in: 1 week
build:upstream_gitmaster:
extends:
- .shared_windows_runners
stage: build
interruptible: true
script:
- echo "running scripts in the build job"
- .\Build-PsadtPlus.ps1
artifacts:
paths:
- PSADTPlus*.zip
expire_in: 1 week
test:
extends:
- .shared_windows_runners
stage: test
script:
- echo "running scripts in the test job"