Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal committed Nov 5, 2024
1 parent 611469d commit 38e25ef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test_modified_ports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,19 @@ jobs:
$end = Get-Date -Date $endDate -UFormat '+%Y-%m-%dT%H:%MZ'
Write-Host "Getting Asset Cache SAS"
$assetSas = az storage container generate-sas --name cache --account-name vcpkgassetcachewus3 --as-user --auth-mode login --https-only --permissions rcl --expiry $end -o tsv | Out-String
if ($LastExitCode -eq 0) {
Write-Host "Got asset cache SAS token successfully"
} else {
Write-Host "Failed to get asset cache SAS token"
}
$assetSas = $assetSas.Trim()
Write-Host "Getting Binary Cache SAS"
$binarySas = az storage container generate-sas --name cache --account-name vcpkgbinarycachewus --as-user --auth-mode login --https-only --permissions rclw --expiry $end -o tsv | Out-String
if ($LastExitCode -eq 0) {
Write-Host "Got binary cache SAS token successfully"
} else {
Write-Host "Failed to get binary cache SAS token"
}
$binarySas = $binarySas.Trim()
$env:X_VCPKG_ASSET_SOURCES = "x-azurl,https://vcpkgassetcachewus3.blob.core.windows.net/cache,$assetSas,readwrite;x-block-origin"
& scripts/azure-pipelines/test-modified-ports.ps1 -Triplet x64-windows -BinarySourceStub "x-azblob,https://vcpkgbinarycachewus.blob.core.windows.net/cache,$binarySas" -WorkingRoot D:\ -ArtifactStagingDirectory D:\artifactstaging
Expand Down

0 comments on commit 38e25ef

Please sign in to comment.