forked from dotnet/sign
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vsts-pr.yml
43 lines (40 loc) · 1 KB
/
.vsts-pr.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
# Pipeline: https://dev.azure.com/dnceng-public/public/_build?definitionId=231
variables:
- name: _TeamName
value: DotNetCore
- name: Build.Repository.Clean
value: true
trigger:
batch: true
branches:
include:
- main
paths:
exclude:
- "*.md"
stages:
- stage: Build_Windows
displayName: Build Windows
jobs:
- template: /eng/common/templates/jobs/jobs.yml
parameters:
enableMicrobuild: true
jobs:
- job: Windows
pool: # See https://helix.dot.net/ for VM names.
name: NetCore-Public
demands: ImageOverride -equals windows.vs2022preview.amd64.open
variables:
- name: _SignType
value: test
strategy:
matrix:
Release:
_BuildConfig: Release
steps:
- script: eng\common\CIBuild.cmd
-configuration $(_BuildConfig)
-prepareMachine
name: Build
displayName: Build and run tests
condition: succeeded()