-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[windows] Add windows-11-arm64 image generation code #13879
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
Open
shamil-mubarakshin
wants to merge
56
commits into
actions:main
Choose a base branch
from
shamil-mubarakshin:shamilm/add-win11-arm-vs2026
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
107a8cc
Add win11-arm template and toolset
shamil-mubarakshin 4b60db6
Update Install Helpers
shamil-mubarakshin 81627de
Modify codebase to support Arm
shamil-mubarakshin 20afed4
Fix source_image_marketplace_sku
shamil-mubarakshin d9157b4
DEBUG: elevated packer, add SeBatchLogonRight
shamil-mubarakshin c0d2ad3
DEBUG:V2 elevated packer, add SeBatchLogonRight
shamil-mubarakshin 12bdc44
DEBUG:V3 elevated packer, test auto logon
shamil-mubarakshin 614b8c5
DEBUG:V3 elevated packer, test auto logon with reboot
shamil-mubarakshin a0d26c5
Remove Install-ServiceFabricSDK.ps1
shamil-mubarakshin 1d8b7e6
Fix Install-Rust.ps1
shamil-mubarakshin 23dd906
TEMP: remove cargo-audit
shamil-mubarakshin ca62df3
Fix Install-Firefox.ps1 asset names
shamil-mubarakshin b809ada
Patch web browser scripts
shamil-mubarakshin 5acc332
Fix pester tests
shamil-mubarakshin c7fea09
Fix Install-Ruby.ps1
shamil-mubarakshin 45f33fa
Fix Haskell.Tests.ps1
shamil-mubarakshin 4407a2e
DEBUG: output windows updates state
shamil-mubarakshin c94f45a
Skip MicrosoftWindows.Client.WebExperience update fails
shamil-mubarakshin 29ae1b4
Fix Build-PackageManagementEnvironmentTable
shamil-mubarakshin 52a499f
Revert "TEMP: remove cargo-audit"
shamil-mubarakshin eaf680b
Cleanup code
shamil-mubarakshin fb1b0dd
Fix LLVM install sequence
shamil-mubarakshin c88da39
Add win11-vs2026-arm64 code
shamil-mubarakshin 952ac23
remove vs workloads
shamil-mubarakshin bb7bd55
Add win11-arm template and toolset
shamil-mubarakshin 65410c8
Update Install Helpers
shamil-mubarakshin 045b85c
Modify codebase to support Arm
shamil-mubarakshin 46988f3
Fix source_image_marketplace_sku
shamil-mubarakshin 649e7dc
DEBUG: elevated packer, add SeBatchLogonRight
shamil-mubarakshin 84ef25f
DEBUG:V2 elevated packer, add SeBatchLogonRight
shamil-mubarakshin aff033d
DEBUG:V3 elevated packer, test auto logon
shamil-mubarakshin 056c081
DEBUG:V3 elevated packer, test auto logon with reboot
shamil-mubarakshin fc73540
Remove Install-ServiceFabricSDK.ps1
shamil-mubarakshin 55b3795
Fix Install-Rust.ps1
shamil-mubarakshin a464377
TEMP: remove cargo-audit
shamil-mubarakshin 811ac68
Fix Install-Firefox.ps1 asset names
shamil-mubarakshin ec19008
Patch web browser scripts
shamil-mubarakshin eb9ce8b
Fix pester tests
shamil-mubarakshin b5c33c4
Fix Install-Ruby.ps1
shamil-mubarakshin 6d309df
Fix Haskell.Tests.ps1
shamil-mubarakshin 3ce8ab8
DEBUG: output windows updates state
shamil-mubarakshin 1d04e42
Skip MicrosoftWindows.Client.WebExperience update fails
shamil-mubarakshin 1ce128c
Fix Build-PackageManagementEnvironmentTable
shamil-mubarakshin e9bec78
Revert "TEMP: remove cargo-audit"
shamil-mubarakshin 18fec92
Cleanup code
shamil-mubarakshin 9c0fdaa
Fix LLVM install sequence
shamil-mubarakshin f422691
Add win11-vs2026-arm64 code
shamil-mubarakshin 1613b62
remove vs workloads
shamil-mubarakshin aaa3859
Fix BaseImage and ImageDataFile scripts
shamil-mubarakshin 1ce4c20
Merge branch 'shamilm/add-win11-arm-vs2026' of github.com:shamil-muba…
shamil-mubarakshin caa84c5
OS Helper overhaul: add x64 arch variants
shamil-mubarakshin 6304f88
OS Helper overhaul: replace function calls
shamil-mubarakshin 6b8ec8a
OS Helper overhaul: update extra calls
shamil-mubarakshin 87115ef
Update arch variables for install scripts
shamil-mubarakshin c71d41f
Add comments for AutoAdminLogon
shamil-mubarakshin 305691a
wip: adjust rust cargo install
shamil-mubarakshin 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
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 |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| ################################################################################ | ||
| ## File: Install-CMake.ps1 | ||
| ## Desc: Install CMake (ARM64 only; x64 is installed via Choco) | ||
| ## Supply chain security: CMake - checksum validation | ||
| ################################################################################ | ||
|
|
||
| # Install CMake | ||
| $downloadUrl = Resolve-GithubReleaseAssetUrl ` | ||
| -Repo "Kitware/CMake" ` | ||
| -Version "latest" ` | ||
| -UrlMatchPattern "cmake-*-windows-arm64.msi" | ||
|
|
||
| #region Supply chain security - CMake | ||
| $packageName = Split-Path $downloadUrl -Leaf | ||
| $checksumsUrl = Resolve-GithubReleaseAssetUrl ` | ||
| -Repo "Kitware/CMake" ` | ||
| -Version "latest" ` | ||
| -UrlMatchPattern "cmake-*-SHA-256.txt" | ||
| $externalHash = Get-ChecksumFromUrl -Type "SHA256" ` | ||
| -Url $checksumsUrl ` | ||
| -FileName $packageName | ||
| #endregion | ||
|
|
||
| Install-Binary ` | ||
| -Url $downloadUrl ` | ||
| -ExtraInstallArgs @("ADD_CMAKE_TO_PATH=System") ` | ||
| -ExpectedSHA256Sum $externalHash | ||
|
|
||
| Update-Environment | ||
|
|
||
| Invoke-PesterTests -TestFile "Tools" -TestName "CMake" |
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
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.
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.
curious why it is not required for arm64.
I wonder if we want to wrap it to
Test-IsArm64instead of silentlyContinue to avoid problems.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.
Remote Access Management Toolsoptional feature is not enabled on windows-11