-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Upgrade CI agents to Windows Server 2025 #16208
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
f6eedd5
Use image rnw-img-vs2026-node24
JunielKatarn 5d015f5
Update fork-sync/bin.js chmod
JunielKatarn e65ade5
Upgrade to MSVC 14.5
JunielKatarn bce9182
Drop -UseWindowsPowerShell fallback
JunielKatarn 3013ae0
Manually install yarn
JunielKatarn 66c3581
Upgrade to .NET Hosting Bundle 10.0.8
JunielKatarn f9df664
Change files
JunielKatarn c241cc5
Fix change file
JunielKatarn ff1c07e
Add temp npm install yarn in templates
JunielKatarn 2940fc9
Merge branch 'main' of github.com:microsoft/react-native-windows into…
JunielKatarn c31dbb2
Test yarn location
JunielKatarn 805a2ca
update
JunielKatarn a776a07
update
JunielKatarn 7c175e1
TEMPORARILY revert agent image
JunielKatarn 57119d0
Print yarn version in setup
JunielKatarn b8b6289
Revert "TEMPORARILY revert agent image"
JunielKatarn aa56ecf
update
JunielKatarn 5d7882e
update
JunielKatarn d615320
update
JunielKatarn ce0776b
Upgrade to msbuildVersion: 18.0
JunielKatarn f9580d2
Update Google test adapter location
JunielKatarn 1558c43
Remove unused statement
JunielKatarn 5cbd864
Remove probing tasks
JunielKatarn 91fc172
Upgrade to VSTest@3
JunielKatarn 558ec2c
Upgrade more projects and scripts to VS 2026
JunielKatarn 685dd3d
Explicitly set vstest.console location
JunielKatarn 9214b70
Install midgard-yarn and verdaccio in-place
JunielKatarn 7e7a383
Fix yarn version
JunielKatarn e97656d
Update node-tests version
JunielKatarn f7cd257
Use pwsh in Add-AppDevPackage
JunielKatarn 3b3e965
Make WindowsStoreAppUtils use PowerShell 7
JunielKatarn 1355c59
Update snapshot values
JunielKatarn d8affae
Merge branch 'ci-win2025' of github.com:jurocha-ms/react-native-windo…
JunielKatarn 8949b25
Update snapshot from failing x86 run
JunielKatarn f27d7e5
Use the --tag argument for verdaccio under Node 24
JunielKatarn 8cc74c1
Ignore/warn on unstable click test
JunielKatarn a0cee40
Enable WMIC for RN Doctor
JunielKatarn 811d7a5
Disable RN doctor until it drops WMIC
JunielKatarn ff50b10
Merge branch 'main' of github.com:microsoft/react-native-windows into…
JunielKatarn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,14 @@ | ||
| steps: | ||
|
|
||
| - pwsh: | | ||
| $vsExtensionPath="${env:ProgramFiles}\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\"; | ||
| $GoogleTestAdapterPath=(Get-ChildItem $vsExtensionPath -Directory | Where-Object -FilterScript {Test-Path (Join-Path -Path $_.FullName -ChildPath "GoogleTestAdapter.Core.dll")}).FullName | ||
| $extensionsPath = "${env:ProgramFiles}\Microsoft Visual Studio\18\Enterprise\Common7\IDE\Extensions" | ||
| $adapterPath = Get-ChildItem $extensionsPath -Directory |` | ||
| Where-Object -FilterScript { Test-Path (Join-Path -Path $_.FullName -ChildPath "GoogleTestAdapter.Core.dll") } |` | ||
| Select-Object -ExpandProperty FullName | ||
|
|
||
| # Test the path to the google test adapter | ||
| Test-Path -Path $GoogleTestAdapterPath | ||
| Test-Path -Path $adapterPath | ||
|
|
||
| Write-Debug "Setting Google Test Adapter Path to '$GoogleTestAdapterPath' found in '$vsExtensionPath'" | ||
| Write-Host "##vso[task.setvariable variable=GoogleTestAdapterPath]$GoogleTestAdapterPath" | ||
| Write-Debug "Setting Google Test Adapter Path to '$adapterPath' found in '$extensionsPath'" | ||
| Write-Host "##vso[task.setvariable variable=GoogleTestAdapterPath]$adapterPath" | ||
| displayName: Set GoogleTestAdapterPath |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
7 changes: 7 additions & 0 deletions
7
change/@react-native-windows-automation-c60179ed-5773-4670-8e87-e5a965003978.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "Upgrade build agents to Windows Server 2025, Visual Studio 2026", | ||
| "packageName": "@react-native-windows/automation", | ||
| "email": "julio.rocha@microsoft.com", | ||
| "dependentChangeType": "patch" | ||
| } |
7 changes: 7 additions & 0 deletions
7
change/@react-native-windows-cli-dca9e77a-6b76-4314-a8aa-9bf2e4aa0e3d.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "Upgrade build agents to Windows Server 2025, Visual Studio 2026", | ||
| "packageName": "@react-native-windows/cli", | ||
| "email": "julio.rocha@microsoft.com", | ||
| "dependentChangeType": "patch" | ||
| } |
7 changes: 7 additions & 0 deletions
7
change/react-native-windows-fd96ce7e-1464-47a3-ac0f-5ae59a7a384d.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "Upgrade build agents to Windows Server 2025, Visual Studio 2026", | ||
| "packageName": "react-native-windows", | ||
| "email": "julio.rocha@microsoft.com", | ||
| "dependentChangeType": "patch" | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.