remove msft sdk build from vmr-build

This commit is contained in:
MilenaHristova 2023-03-03 15:21:01 +01:00
parent ea1ea9e423
commit 7b74786a8f
3 changed files with 25 additions and 63 deletions

View file

@ -34,7 +34,7 @@ parameters:
# Skip running the SDK content smoke-tests # Skip running the SDK content smoke-tests
- name: excludeSdkContentTests - name: excludeSdkContentTests
type: boolean type: boolean
default: false default: true
# Name of a previous job (from the same template as this) whose output will be used to build this job # Name of a previous job (from the same template as this) whose output will be used to build this job
# The SDK from its artifacts is copied to vmr/.dotnet # The SDK from its artifacts is copied to vmr/.dotnet

View file

@ -78,7 +78,6 @@ stages:
buildFromArchive: false # 🚫 buildFromArchive: false # 🚫
enablePoison: false # 🚫 enablePoison: false # 🚫
excludeOmniSharpTests: true # ✅ excludeOmniSharpTests: true # ✅
excludeSdkContentTests: true # ✅
overrideDistroDisablingSha1: false # 🚫 overrideDistroDisablingSha1: false # 🚫
runOnline: true # ✅ runOnline: true # ✅
@ -96,7 +95,6 @@ stages:
buildFromArchive: true # ✅ buildFromArchive: true # ✅
enablePoison: false # 🚫 enablePoison: false # 🚫
excludeOmniSharpTests: true # ✅ excludeOmniSharpTests: true # ✅
excludeSdkContentTests: false # 🚫
overrideDistroDisablingSha1: false # 🚫 overrideDistroDisablingSha1: false # 🚫
runOnline: false # 🚫 runOnline: false # 🚫
@ -113,7 +111,6 @@ stages:
buildFromArchive: true # ✅ buildFromArchive: true # ✅
enablePoison: false # 🚫 enablePoison: false # 🚫
excludeOmniSharpTests: false # 🚫 excludeOmniSharpTests: false # 🚫
excludeSdkContentTests: false # 🚫
overrideDistroDisablingSha1: true # ✅ overrideDistroDisablingSha1: true # ✅
runOnline: false # 🚫 runOnline: false # 🚫
@ -130,7 +127,6 @@ stages:
buildFromArchive: true # ✅ buildFromArchive: true # ✅
enablePoison: true # ✅ enablePoison: true # ✅
excludeOmniSharpTests: false # 🚫 excludeOmniSharpTests: false # 🚫
excludeSdkContentTests: false # 🚫
overrideDistroDisablingSha1: false # 🚫 overrideDistroDisablingSha1: false # 🚫
runOnline: false # 🚫 runOnline: false # 🚫
@ -147,7 +143,6 @@ stages:
buildFromArchive: false # 🚫 buildFromArchive: false # 🚫
enablePoison: false # 🚫 enablePoison: false # 🚫
excludeOmniSharpTests: false # 🚫 excludeOmniSharpTests: false # 🚫
excludeSdkContentTests: false # 🚫
overrideDistroDisablingSha1: false # 🚫 overrideDistroDisablingSha1: false # 🚫
runOnline: false # 🚫 runOnline: false # 🚫
@ -162,7 +157,6 @@ stages:
buildFromArchive: false # 🚫 buildFromArchive: false # 🚫
enablePoison: false # 🚫 enablePoison: false # 🚫
excludeOmniSharpTests: false # 🚫 excludeOmniSharpTests: false # 🚫
excludeSdkContentTests: false # 🚫
overrideDistroDisablingSha1: false # 🚫 overrideDistroDisablingSha1: false # 🚫
runOnline: false # 🚫 runOnline: false # 🚫
@ -179,7 +173,6 @@ stages:
buildFromArchive: false # 🚫 buildFromArchive: false # 🚫
enablePoison: false # 🚫 enablePoison: false # 🚫
excludeOmniSharpTests: false # 🚫 excludeOmniSharpTests: false # 🚫
excludeSdkContentTests: true # ✅
overrideDistroDisablingSha1: false # 🚫 overrideDistroDisablingSha1: false # 🚫
runOnline: false # 🚫 runOnline: false # 🚫
reuseBuildArtifactsFrom: Fedora36_Offline reuseBuildArtifactsFrom: Fedora36_Offline

View file

@ -1,55 +1,24 @@
# This is the main build definition (PR+CI) for dotnet/dotnet # This is the main build definition (PR+CI) for dotnet/dotnet
trigger: trigger:
batch: true batch: true
branches: branches:
include: include:
- main - main
- release/* - release/*
- internal/release/* - internal/release/*
pr: pr:
branches: branches:
include: include:
- main - main
- release/* - release/*
- internal/release/* - internal/release/*
stages: stages:
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- template: templates/stages/vmr-scan.yml - template: templates/stages/vmr-scan.yml
# For rolling builds we want to build the MSFT SDK first so that we can - template: /src/installer/eng/pipelines/templates/stages/vmr-build.yml
# compare the contents with the source-built one later. parameters:
# This only works because we don't run this test in PRs. If we decided isBuiltFromVmr: true
# to run this test in PRs, we would need to build the MSFT SDK there too.
- stage: Build_MSFT_SDK
displayName: Build MSFT SDK
dependsOn: []
jobs:
- template: /src/installer/eng/build.yml
parameters:
agentOs: Linux
jobName: Build_LinuxPortable_Release_x64
buildConfiguration: Release
buildArchitecture: x64
linuxPortable: true
runTests: false
isBuiltFromVmr: true
- template: /src/installer/eng/build.yml
parameters:
agentOs: Linux
jobName: Build_Arm64_Release
buildConfiguration: Release
buildArchitecture: arm64
runtimeIdentifier: 'linux-arm64'
linuxPortable: true
runTests: false
isBuiltFromVmr: true
- template: /src/installer/eng/pipelines/templates/stages/vmr-build.yml
parameters:
isBuiltFromVmr: true
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
dependsOn: Build_MSFT_SDK
condition: always()