Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Modified Ports | |
on: | |
push: | |
branches: | |
- onboard-actions | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
Windows: | |
runs-on: | |
- self-hosted | |
- "1ES.Pool=vcpkg-windows-wus" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
# fetch-depth 50 tries to ensure we capture the whole history of the branch | |
fetch-depth: 50 | |
- name: Azure Login | |
uses: azure/login@v2 | |
with: | |
client-id: a81b4cd3-9d8d-4cb9-9a74-f2038f24f224 | |
subscription-id: 7fcb00fa-a761-49de-8a2f-d67190e62882 | |
tenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 | |
auth-type: IDENTITY | |
- name: Bootstrap | |
shell: pwsh | |
run: ./scripts/bootstrap.ps1 | |
- name: "*** Test Modified Ports" | |
uses: azure/cli@v2 | |
with: | |
azcliversion: latest | |
scriptType: 'pscore' | |
inlineScript: | | |
$current = Get-Date -AsUtc | |
$endDate = $current.AddDays(2) | |
$end = Get-Date -Date $endDate -UFormat '+%Y-%m-%dT%H:%MZ' | |
#$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 | |
#$assetSas = $assetSas.Trim() | |
$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 | |
$binarySas = $binarySas.Trim() | |
#$env:X_VCPKG_ASSET_SOURCES = "x-azurl,https://vcpkgassetcachewus3.blob.core.windows.net/cache,$assetSas,readwrite" | |
& 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 |