Path: blob/main/build/azure-pipelines/product-build-macos.yml
5369 views
pr: none12trigger: none34parameters:5- name: VSCODE_QUALITY6displayName: Quality7type: string8default: insider9- name: NPM_REGISTRY10displayName: "Custom NPM Registry"11type: string12default: 'https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/npm/registry/'13- name: CARGO_REGISTRY14displayName: "Custom Cargo Registry"15type: string16default: 'sparse+https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/Cargo/index/'1718variables:19- name: NPM_REGISTRY20${{ if in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI') }}: # disable terrapin when in VSCODE_CIBUILD21value: none22${{ else }}:23value: ${{ parameters.NPM_REGISTRY }}24- name: CARGO_REGISTRY25value: ${{ parameters.CARGO_REGISTRY }}26- name: VSCODE_QUALITY27value: ${{ parameters.VSCODE_QUALITY }}28- name: VSCODE_CIBUILD29value: ${{ in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI') }}30- name: VSCODE_STEP_ON_IT31value: false32- name: skipComponentGovernanceDetection33value: true34- name: ComponentDetection.Timeout35value: 60036- name: Codeql.SkipTaskAutoInjection37value: true38- name: ARTIFACT_PREFIX39value: ''4041name: "$(Date:yyyyMMdd).$(Rev:r) (${{ parameters.VSCODE_QUALITY }})"4243resources:44repositories:45- repository: 1esPipelines46type: git47name: 1ESPipelineTemplates/1ESPipelineTemplates48ref: refs/tags/release4950extends:51template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines52parameters:53sdl:54tsa:55enabled: true56configFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/tsaoptions.json57codeql:58runSourceLanguagesInSourceAnalysis: true59compiled:60enabled: false61justificationForDisabling: "CodeQL breaks ESRP CodeSign on macOS (ICM #520035761, githubcustomers/microsoft-codeql-support#198)"62credscan:63suppressionsFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/CredScanSuppressions.json64eslint:65enabled: true66enableExclusions: true67exclusionsFilePath: $(Build.SourcesDirectory)/.eslint-ignore68sourceAnalysisPool: 1es-windows-2022-x6469createAdoIssuesForJustificationsForDisablement: false70containers:71ubuntu-2004-arm64:72image: onebranch.azurecr.io/linux/ubuntu-2004-arm64:latest73stages:74- stage: Compile75pool:76name: AcesShared77os: macOS78demands:79- ImageOverride -equals ACES_VM_SharedPool_Sequoia80jobs:81- template: build/azure-pipelines/product-compile.yml@self8283- stage: macOS84dependsOn:85- Compile86pool:87name: AcesShared88os: macOS89demands:90- ImageOverride -equals ACES_VM_SharedPool_Sequoia91variables:92BUILDSECMON_OPT_IN: true93jobs:94- template: build/azure-pipelines/darwin/product-build-darwin-ci.yml@self95parameters:96VSCODE_CIBUILD: true97VSCODE_TEST_SUITE: Electron98- template: build/azure-pipelines/darwin/product-build-darwin-ci.yml@self99parameters:100VSCODE_CIBUILD: true101VSCODE_TEST_SUITE: Browser102- template: build/azure-pipelines/darwin/product-build-darwin-ci.yml@self103parameters:104VSCODE_CIBUILD: true105VSCODE_TEST_SUITE: Remote106107108