Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/build/azure-pipelines/product-build-macos.yml
5369 views
1
pr: none
2
3
trigger: none
4
5
parameters:
6
- name: VSCODE_QUALITY
7
displayName: Quality
8
type: string
9
default: insider
10
- name: NPM_REGISTRY
11
displayName: "Custom NPM Registry"
12
type: string
13
default: 'https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/npm/registry/'
14
- name: CARGO_REGISTRY
15
displayName: "Custom Cargo Registry"
16
type: string
17
default: 'sparse+https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/Cargo/index/'
18
19
variables:
20
- name: NPM_REGISTRY
21
${{ if in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI') }}: # disable terrapin when in VSCODE_CIBUILD
22
value: none
23
${{ else }}:
24
value: ${{ parameters.NPM_REGISTRY }}
25
- name: CARGO_REGISTRY
26
value: ${{ parameters.CARGO_REGISTRY }}
27
- name: VSCODE_QUALITY
28
value: ${{ parameters.VSCODE_QUALITY }}
29
- name: VSCODE_CIBUILD
30
value: ${{ in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI') }}
31
- name: VSCODE_STEP_ON_IT
32
value: false
33
- name: skipComponentGovernanceDetection
34
value: true
35
- name: ComponentDetection.Timeout
36
value: 600
37
- name: Codeql.SkipTaskAutoInjection
38
value: true
39
- name: ARTIFACT_PREFIX
40
value: ''
41
42
name: "$(Date:yyyyMMdd).$(Rev:r) (${{ parameters.VSCODE_QUALITY }})"
43
44
resources:
45
repositories:
46
- repository: 1esPipelines
47
type: git
48
name: 1ESPipelineTemplates/1ESPipelineTemplates
49
ref: refs/tags/release
50
51
extends:
52
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
53
parameters:
54
sdl:
55
tsa:
56
enabled: true
57
configFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/tsaoptions.json
58
codeql:
59
runSourceLanguagesInSourceAnalysis: true
60
compiled:
61
enabled: false
62
justificationForDisabling: "CodeQL breaks ESRP CodeSign on macOS (ICM #520035761, githubcustomers/microsoft-codeql-support#198)"
63
credscan:
64
suppressionsFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/CredScanSuppressions.json
65
eslint:
66
enabled: true
67
enableExclusions: true
68
exclusionsFilePath: $(Build.SourcesDirectory)/.eslint-ignore
69
sourceAnalysisPool: 1es-windows-2022-x64
70
createAdoIssuesForJustificationsForDisablement: false
71
containers:
72
ubuntu-2004-arm64:
73
image: onebranch.azurecr.io/linux/ubuntu-2004-arm64:latest
74
stages:
75
- stage: Compile
76
pool:
77
name: AcesShared
78
os: macOS
79
demands:
80
- ImageOverride -equals ACES_VM_SharedPool_Sequoia
81
jobs:
82
- template: build/azure-pipelines/product-compile.yml@self
83
84
- stage: macOS
85
dependsOn:
86
- Compile
87
pool:
88
name: AcesShared
89
os: macOS
90
demands:
91
- ImageOverride -equals ACES_VM_SharedPool_Sequoia
92
variables:
93
BUILDSECMON_OPT_IN: true
94
jobs:
95
- template: build/azure-pipelines/darwin/product-build-darwin-ci.yml@self
96
parameters:
97
VSCODE_CIBUILD: true
98
VSCODE_TEST_SUITE: Electron
99
- template: build/azure-pipelines/darwin/product-build-darwin-ci.yml@self
100
parameters:
101
VSCODE_CIBUILD: true
102
VSCODE_TEST_SUITE: Browser
103
- template: build/azure-pipelines/darwin/product-build-darwin-ci.yml@self
104
parameters:
105
VSCODE_CIBUILD: true
106
VSCODE_TEST_SUITE: Remote
107
108