Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# You can define any steps you want, and they will run before the agent starts.
# If you do not check out your code, Copilot will do this for you.
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: ⚙ Install prerequisites
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: ⚙ Install prerequisites
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: 📚 Doc validation
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: 🔗 Markup Link Checker (mlc)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libtemplate-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.

Expand Down
8 changes: 6 additions & 2 deletions Microsoft.VisualStudio.Threading.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@
<File Path="test/Directory.Build.targets" />
<File Path="test/dirs.proj" />
<Project Path="samples/samples.csproj" />
<Project Path="test/IsolatedTestHost/IsolatedTestHost.csproj" />
<Project Path="test/IsolatedTestHost/IsolatedTestHost.csproj">
<Build Solution="*|NonWindows" Project="false" />
</Project>
<Project Path="test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj" />
<Project Path="test/Microsoft.VisualStudio.Threading.Tests.Win7RegistryWatcher/Microsoft.VisualStudio.Threading.Tests.Win7RegistryWatcher.csproj" />
<Project Path="test/Microsoft.VisualStudio.Threading.Tests.Win7RegistryWatcher/Microsoft.VisualStudio.Threading.Tests.Win7RegistryWatcher.csproj">
<Build Solution="*|NonWindows" Project="false" />
</Project>
<Project Path="test/Microsoft.VisualStudio.Threading.Tests/Microsoft.VisualStudio.Threading.Tests.csproj" />
<Project Path="test/NativeAOTCompatibility.Test/NativeAOTCompatibility.Test.csproj" />
</Folder>
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines/archive-sourcecode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extends:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
sourceAnalysisPool: VSEng-MicroBuildVSStable

stages:
- stage: archive
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ parameters:
- name: windowsPool
type: object
default:
vmImage: windows-2022
vmImage: windows-2025
- name: linuxPool
type: object
default:
vmImage: ubuntu-22.04
vmImage: ubuntu-24.04
- name: macOSPool
type: object
default:
vmImage: macOS-14
vmImage: macOS-15

jobs:
- job: Windows
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines/official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extends:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
sourceAnalysisPool: VSEng-MicroBuildVSStable
codeSignValidation:
enabled: true
break: true
Expand All @@ -72,15 +72,15 @@ extends:
RealSign: true
ShouldSkipOptimize: ${{ parameters.ShouldSkipOptimize }}
EnableAPIScan: ${{ parameters.EnableAPIScan }}
windowsPool: VSEngSS-MicroBuild2022-1ES
windowsPool: VSEng-MicroBuildVSStable
linuxPool:
name: AzurePipelines-EO
demands:
- ImageOverride -equals 1ESPT-Ubuntu22.04
os: Linux
macOSPool:
name: Azure Pipelines
vmImage: macOS-14
vmImage: macOS-15
os: macOS
EnableMacOSBuild: ${{ parameters.EnableMacOSBuild }}
RunTests: ${{ parameters.RunTests }}
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines/prepare-insertion-stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ stages:
- ${{ if parameters.ArchiveSymbols }}:
- job: symbol_archive
displayName: Archive symbols
pool: VSEngSS-MicroBuild2022-1ES
pool: VSEng-MicroBuildVSStable
variables:
ONEES_ENFORCED_CODEQL_ENABLED: false # CodeQL runs on build stages, we don't need it here
steps:
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ extends:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
sourceAnalysisPool: VSEng-MicroBuildVSStable

stages:
- stage: release
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines/unofficial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extends:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
sourceAnalysisPool: VSEng-MicroBuildVSStable
credscan:
enabled: false
suppression:
Expand All @@ -86,15 +86,15 @@ extends:
RealSign: false
ShouldSkipOptimize: ${{ parameters.ShouldSkipOptimize }}
EnableAPIScan: ${{ parameters.EnableAPIScan }}
windowsPool: VSEngSS-MicroBuild2022-1ES
windowsPool: VSEng-MicroBuildVSStable
linuxPool:
name: AzurePipelines-EO
demands:
- ImageOverride -equals 1ESPT-Ubuntu22.04
os: Linux
macOSPool:
name: Azure Pipelines
vmImage: macOS-14
vmImage: macOS-15
os: macOS
EnableMacOSBuild: ${{ parameters.EnableMacOSBuild }}
RunTests: ${{ parameters.RunTests }}
Expand Down
6 changes: 4 additions & 2 deletions azure-pipelines/vs-insertion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ extends:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
sourceAnalysisPool: VSEng-MicroBuildVSStable
sbom:
enabled: false

stages:
- stage: insertion
jobs:
- job: insertion
displayName: VS insertion
pool: VSEngSS-MicroBuild2022-1ES
pool: VSEng-MicroBuildVSStable
templateContext:
outputParentDirectory: $(Pipeline.Workspace)/CI
steps:
Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines/vs-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extends:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
sourceAnalysisPool: VSEng-MicroBuildVSStable
credscan:
enabled: false

Expand All @@ -46,15 +46,15 @@ extends:
Is1ESPT: true
RealSign: false
ShouldSkipOptimize: ${{ parameters.ShouldSkipOptimize }}
windowsPool: VSEngSS-MicroBuild2022-1ES
windowsPool: VSEng-MicroBuildVSStable
linuxPool:
name: AzurePipelines-EO
demands:
- ImageOverride -equals 1ESPT-Ubuntu22.04
os: Linux
macOSPool:
name: Azure Pipelines
vmImage: macOS-14
vmImage: macOS-15
os: macOS
EnableMacOSBuild: false
RunTests: false
Expand All @@ -70,7 +70,7 @@ extends:
jobs:
- job: insertion
displayName: VS insertion
pool: VSEngSS-MicroBuild2022-1ES
pool: VSEng-MicroBuildVSStable
steps:
- checkout: self
clean: true
Expand Down
6 changes: 6 additions & 0 deletions tools/dotnet-test-cloud.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ if ($x86) {
$testBinLog = Join-Path $ArtifactStagingFolder (Join-Path build_logs test.binlog)
$testDiagLog = Join-Path $ArtifactStagingFolder (Join-Path test_logs diag.log)

$extraArgs = @()
if ($IsLinux -or $IsMacOS) {
$extraArgs += '-p:Platform=NonWindows'
}

& $dotnet test $RepoRoot `
--no-build `
-c $Configuration `
Expand All @@ -58,6 +63,7 @@ $testDiagLog = Join-Path $ArtifactStagingFolder (Join-Path test_logs diag.log)
-bl:"$testBinLog" `
--diag "$testDiagLog;TraceLevel=info" `
--logger trx `
@extraArgs `

$unknownCounter = 0
Get-ChildItem -Recurse -Path $RepoRoot\test\*.trx |% {
Expand Down