From c757f9c70a17dc00a8bbcbf7051f63c3ebc99cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moreno?= Date: Thu, 17 Dec 2020 08:51:55 +0100 Subject: [PATCH] merge macos jobs into same stage --- build/azure-pipelines/product-build.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/build/azure-pipelines/product-build.yml b/build/azure-pipelines/product-build.yml index a99e40b8509..96ae9c2bf50 100644 --- a/build/azure-pipelines/product-build.yml +++ b/build/azure-pipelines/product-build.yml @@ -8,8 +8,8 @@ schedules: - master variables: - ${{ if and(eq(variables['VSCODE_PUBLISH'], ''), or(eq(variables['Build.Reason'], 'IndividualCI'), eq(variables['Build.Reason'], 'BatchedCI'))) }}: - VSCODE_PUBLISH: 'false' + ? ${{ if and(eq(variables['VSCODE_PUBLISH'], ''), or(eq(variables['Build.Reason'], 'IndividualCI'), eq(variables['Build.Reason'], 'BatchedCI'))) }} + : VSCODE_PUBLISH: "false" resources: containers: @@ -167,14 +167,6 @@ stages: VSCODE_ARCH: x64 steps: - template: darwin/product-build-darwin.yml - - - stage: macOSARM64 - dependsOn: - - Compile - condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false')) - pool: - vmImage: macOS-latest - jobs: - job: macOSARM64 condition: and(succeeded(), eq(variables['VSCODE_BUILD_MACOS_ARM64'], 'true'), ne(variables['VSCODE_PUBLISH'], 'false')) timeoutInMinutes: 90 @@ -188,7 +180,6 @@ stages: - Windows - Linux - macOS - - macOSARM64 condition: and(succeededOrFailed(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), ne(variables['VSCODE_PUBLISH'], 'false')) pool: vmImage: "Ubuntu-18.04" @@ -203,7 +194,6 @@ stages: - Windows - Linux - macOS - - macOSARM64 condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), ne(variables['VSCODE_PUBLISH'], 'false'), or(eq(variables['VSCODE_RELEASE'], 'true'), and(or(eq(variables['VSCODE_QUALITY'], 'insider'), eq(variables['VSCODE_QUALITY'], 'exploration')), eq(variables['Build.Reason'], 'Schedule')))) pool: vmImage: "Ubuntu-18.04"