Skip to content

Commit

Permalink
Update vcpkg-tool to 2025-01-11.
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal authored Jan 13, 2025
2 parents d7112d1 + 34a8920 commit 6f29f12
Show file tree
Hide file tree
Showing 8 changed files with 817 additions and 724 deletions.
6 changes: 4 additions & 2 deletions scripts/azure-pipelines/test-modified-ports.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ $parentHashes = @()
if (($BuildReason -eq 'PullRequest') -and -not $NoParentHashes)
{
$headBaseline = Get-Content "$PSScriptRoot/../ci.baseline.txt" -Raw
$headTool = Get-Content "$PSScriptRoot/../vcpkg-tool-metadata.txt" -Raw

# Prefetch tools for better output
foreach ($tool in @('cmake', 'ninja', 'git')) {
Expand All @@ -154,7 +155,8 @@ if (($BuildReason -eq 'PullRequest') -and -not $NoParentHashes)
}

$parentBaseline = Get-Content "$PSScriptRoot/../ci.baseline.txt" -Raw
if ($parentBaseline -eq $headBaseline)
$parentTool = Get-Content "$PSScriptRoot/../vcpkg-tool-metadata.txt" -Raw
if (($parentBaseline -eq $headBaseline) -and ($parentTool -eq $headTool))
{
Write-Host "CI baseline unchanged, determining parent hashes"
$parentHashesFile = Join-Path $ArtifactStagingDirectory 'parent-hashes.json'
Expand All @@ -173,7 +175,7 @@ if (($BuildReason -eq 'PullRequest') -and -not $NoParentHashes)
}
else
{
Write-Host "CI baseline was modified, not using parent hashes"
Write-Host "Tool or baseline modified, not using parent hashes"
}

Write-Host "Running CI for HEAD"
Expand Down
247 changes: 0 additions & 247 deletions scripts/posh-vcpkg/0.0.1/posh-vcpkg.psd1

This file was deleted.

Loading

0 comments on commit 6f29f12

Please sign in to comment.