mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 01:58:14 +08:00
[vcpkg] Delete unnecessary tombstone deletion step now that CI rebuilds everything (#12120)
This commit is contained in:
parent
22c8e3a23a
commit
9f8cc9ee88
@ -4,85 +4,46 @@
|
|||||||
variables:
|
variables:
|
||||||
windows-pool: 'PrWin-2020-06-04'
|
windows-pool: 'PrWin-2020-06-04'
|
||||||
linux-pool: 'PrLin-2020-06-08'
|
linux-pool: 'PrLin-2020-06-08'
|
||||||
delete-tombstones-first: ${{ ne(variables['Build.Reason'], 'PullRequest') }}
|
|
||||||
|
|
||||||
stages:
|
jobs:
|
||||||
- stage: delete_tombstones
|
- template: windows/azure-pipelines.yml
|
||||||
displayName: 'Delete Tombstones'
|
parameters:
|
||||||
jobs:
|
triplet: x86-windows
|
||||||
- job: windows
|
jobName: x86_windows
|
||||||
displayName: 'Clean Windows Tombstones'
|
poolName: $(windows-pool)
|
||||||
pool: $(windows-pool)
|
|
||||||
condition: ${{ variables['delete-tombstones-first'] }}
|
|
||||||
steps:
|
|
||||||
- task: PowerShell@2
|
|
||||||
displayName: 'Initialize Environment'
|
|
||||||
inputs:
|
|
||||||
filePath: 'scripts/azure-pipelines/windows/initialize-environment.ps1'
|
|
||||||
- script: rmdir /s /q W:\fail
|
|
||||||
failOnStderr: false
|
|
||||||
displayName: 'Delete W:\fail'
|
|
||||||
- job: linux
|
|
||||||
displayName: 'Clean Linux Tombstones'
|
|
||||||
pool: $(linux-pool)
|
|
||||||
condition: ${{ variables['delete-tombstones-first'] }}
|
|
||||||
steps:
|
|
||||||
- bash: rm -rf /archives/fail
|
|
||||||
displayName: 'Delete /archives/fail'
|
|
||||||
failOnStderr: false
|
|
||||||
- job: osx
|
|
||||||
displayName: 'Clean MacOS Tombstones'
|
|
||||||
condition: ${{ variables['delete-tombstones-first'] }}
|
|
||||||
pool:
|
|
||||||
name: vcpkgAgentPool
|
|
||||||
demands: Agent.OS -equals Darwin
|
|
||||||
steps:
|
|
||||||
- bash: rm -rf /Users/vagrant/Data/archives/fail
|
|
||||||
displayName: 'Delete /Users/vagrant/Data/archives/fail'
|
|
||||||
failOnStderr: false
|
|
||||||
|
|
||||||
- stage: run_pr_test
|
- template: windows/azure-pipelines.yml
|
||||||
displayName: 'Run PR Test'
|
parameters:
|
||||||
dependsOn: delete_tombstones
|
triplet: x64-windows
|
||||||
jobs:
|
jobName: x64_windows
|
||||||
- template: windows/azure-pipelines.yml
|
poolName: $(windows-pool)
|
||||||
parameters:
|
|
||||||
triplet: x86-windows
|
|
||||||
jobName: x86_windows
|
|
||||||
poolName: $(windows-pool)
|
|
||||||
|
|
||||||
- template: windows/azure-pipelines.yml
|
- template: windows/azure-pipelines.yml
|
||||||
parameters:
|
parameters:
|
||||||
triplet: x64-windows
|
triplet: x64-windows-static
|
||||||
jobName: x64_windows
|
jobName: x64_windows_static
|
||||||
poolName: $(windows-pool)
|
poolName: $(windows-pool)
|
||||||
|
|
||||||
- template: windows/azure-pipelines.yml
|
- template: windows/azure-pipelines.yml
|
||||||
parameters:
|
parameters:
|
||||||
triplet: x64-windows-static
|
triplet: x64-uwp
|
||||||
jobName: x64_windows_static
|
jobName: x64_uwp
|
||||||
poolName: $(windows-pool)
|
poolName: $(windows-pool)
|
||||||
|
|
||||||
- template: windows/azure-pipelines.yml
|
- template: windows/azure-pipelines.yml
|
||||||
parameters:
|
parameters:
|
||||||
triplet: x64-uwp
|
triplet: arm64-windows
|
||||||
jobName: x64_uwp
|
jobName: arm64_windows
|
||||||
poolName: $(windows-pool)
|
poolName: $(windows-pool)
|
||||||
|
|
||||||
- template: windows/azure-pipelines.yml
|
- template: windows/azure-pipelines.yml
|
||||||
parameters:
|
parameters:
|
||||||
triplet: arm64-windows
|
triplet: arm-uwp
|
||||||
jobName: arm64_windows
|
jobName: arm_uwp
|
||||||
poolName: $(windows-pool)
|
poolName: $(windows-pool)
|
||||||
|
|
||||||
- template: windows/azure-pipelines.yml
|
- template: osx/azure-pipelines.yml
|
||||||
parameters:
|
|
||||||
triplet: arm-uwp
|
|
||||||
jobName: arm_uwp
|
|
||||||
poolName: $(windows-pool)
|
|
||||||
|
|
||||||
- template: osx/azure-pipelines.yml
|
- template: linux/azure-pipelines.yml
|
||||||
|
parameters:
|
||||||
- template: linux/azure-pipelines.yml
|
poolName: $(linux-pool)
|
||||||
parameters:
|
|
||||||
poolName: $(linux-pool)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user