forked from microsoft/Quantum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yml
51 lines (43 loc) · 965 Bytes
/
build.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
#
# Build configuration file to run build on azure-pipelines
#
name: $(Build.Major).$(Build.Minor).$(BuildId)
trigger:
- main
pr:
- main
- feature/*
schedules:
- cron: "0 9 * * Sat"
displayName: 'Build for Component Governance'
branches:
include:
- main
always: true
variables:
Build.Major: 1
Build.Minor: 0
Build.Patch: $(Build.BuildId)
Build.Configuration: 'Release'
Drops.Dir: $(Build.ArtifactStagingDirectory)/drops
IQSharp.Hosting.Env: 'build-agent-quantum'
jobs:
- job: Windows
pool:
vmImage: 'windows-2019'
steps:
- template: Build/steps.yml
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'
inputs:
failOnAlert: true
- job: macOS
pool:
vmImage: 'macOS-latest'
steps:
- template: Build/steps.yml
- job: Linux
pool:
vmImage: 'ubuntu-latest'
steps:
- template: Build/steps.yml