Engineering - update product pipeline to allow testing new macOS pool (#283817)

* Fix compile stage

* Lift stage information for easier testing

* Update macOS test steps
This commit is contained in:
Ladislau Szomoru
2025-12-16 14:32:43 +00:00
committed by GitHub
parent a8f4b34cfe
commit 33094f306c
3 changed files with 21 additions and 50 deletions

View File

@@ -71,16 +71,13 @@ extends:
image: onebranch.azurecr.io/linux/ubuntu-2004-arm64:latest
stages:
- stage: Compile
pool:
name: AcesShared
os: macOS
demands:
- ImageOverride -equals ACES_VM_SharedPool_Sequoia
jobs:
- job: Compile
timeoutInMinutes: 90
pool:
name: AcesShared
os: macOS
demands:
- ImageOverride -equals ACES_VM_SharedPool_Sequoia
steps:
- template: build/azure-pipelines/product-compile.yml@self
- template: build/azure-pipelines/product-compile.yml@self
- stage: macOS
dependsOn:
@@ -93,41 +90,15 @@ extends:
variables:
BUILDSECMON_OPT_IN: true
jobs:
- job: macOSElectronTest
displayName: Electron Tests
timeoutInMinutes: 30
variables:
VSCODE_ARCH: arm64
steps:
- template: build/azure-pipelines/darwin/product-build-darwin.yml@self
parameters:
VSCODE_ARCH: arm64
VSCODE_CIBUILD: ${{ variables.VSCODE_CIBUILD }}
VSCODE_TEST_ARTIFACT_NAME: electron
VSCODE_RUN_ELECTRON_TESTS: true
- job: macOSBrowserTest
displayName: Browser Tests
timeoutInMinutes: 30
variables:
VSCODE_ARCH: arm64
steps:
- template: build/azure-pipelines/darwin/product-build-darwin.yml@self
parameters:
VSCODE_ARCH: arm64
VSCODE_CIBUILD: ${{ variables.VSCODE_CIBUILD }}
VSCODE_TEST_ARTIFACT_NAME: browser
VSCODE_RUN_BROWSER_TESTS: true
- job: macOSRemoteTest
displayName: Remote Tests
timeoutInMinutes: 30
variables:
VSCODE_ARCH: arm64
steps:
- template: build/azure-pipelines/darwin/product-build-darwin.yml@self
parameters:
VSCODE_ARCH: arm64
VSCODE_CIBUILD: ${{ variables.VSCODE_CIBUILD }}
VSCODE_TEST_ARTIFACT_NAME: remote
VSCODE_RUN_REMOTE_TESTS: true
- template: build/azure-pipelines/darwin/product-build-darwin-ci.yml@self
parameters:
VSCODE_CIBUILD: true
VSCODE_TEST_SUITE: Electron
- template: build/azure-pipelines/darwin/product-build-darwin-ci.yml@self
parameters:
VSCODE_CIBUILD: true
VSCODE_TEST_SUITE: Browser
- template: build/azure-pipelines/darwin/product-build-darwin-ci.yml@self
parameters:
VSCODE_CIBUILD: true
VSCODE_TEST_SUITE: Remote

View File

@@ -190,6 +190,9 @@ extends:
image: onebranch.azurecr.io/linux/ubuntu-2004-arm64:latest
stages:
- stage: Compile
pool:
name: AcesShared
os: macOS
jobs:
- template: build/azure-pipelines/product-compile.yml@self

View File

@@ -1,9 +1,6 @@
jobs:
- job: Compile
timeoutInMinutes: 60
pool:
name: AcesShared
os: macOS
templateContext:
outputs:
- output: pipelineArtifact