-
Notifications
You must be signed in to change notification settings - Fork 306
add win arm64 tests #652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
add win arm64 tests #652
Changes from 17 commits
4e66905
9d3c418
4b2e002
0f8335b
b055fb1
414bb75
6f534b3
03f5f2e
b6914ac
d65d924
b84dc1a
9b8158c
6deecba
1236d7c
1203fb0
3320548
23780cf
96d14a2
14ee568
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -78,6 +78,20 @@ steps: | |||||||||||||||||||||
| if ($LASTEXITCODE -ne 0) { throw "Windows App SDK Runtime install failed" } | ||||||||||||||||||||||
| errorActionPreference: 'stop' | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # Clear the NuGet global packages cache to avoid corrupt/stale packages on reused agents. | ||||||||||||||||||||||
| - task: PowerShell@2 | ||||||||||||||||||||||
| displayName: 'Clear NuGet packages cache' | ||||||||||||||||||||||
| inputs: | ||||||||||||||||||||||
| targetType: inline | ||||||||||||||||||||||
| script: | | ||||||||||||||||||||||
| $cacheDir = Join-Path $env:USERPROFILE '.nuget' 'packages' | ||||||||||||||||||||||
| if (Test-Path $cacheDir) { | ||||||||||||||||||||||
| Write-Host "Clearing NuGet packages cache: $cacheDir" | ||||||||||||||||||||||
| Remove-Item -Recurse -Force "$cacheDir\*" | ||||||||||||||||||||||
| } else { | ||||||||||||||||||||||
| Write-Host "NuGet packages cache not found at $cacheDir, skipping." | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
||||||||||||||||||||||
| $cacheDir = Join-Path $env:USERPROFILE '.nuget' 'packages' | |
| if (Test-Path $cacheDir) { | |
| Write-Host "Clearing NuGet packages cache: $cacheDir" | |
| Remove-Item -Recurse -Force "$cacheDir\*" | |
| } else { | |
| Write-Host "NuGet packages cache not found at $cacheDir, skipping." | |
| } | |
| Write-Host "Clearing NuGet global-packages cache" | |
| dotnet nuget locals global-packages --clear | |
| if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In
flc_osx_arm64,test-data-sharedis checked out with LFS (and git-lfs is installed) even thoughbuild-core-steps.ymldoesn’t referencetest-data-shared, and Core tests are currently skipped forosx-arm64(per the build-core template condition). If the checkout is only needed for tests, consider removing thebrew install git-lfs+checkout: test-data-sharedhere to reduce job time and bandwidth until osx-arm64 tests are re-enabled.