CI[BB]:FIX MSVC CI break with xPack toolchain in Widows.ps1 #18069
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.
Summary
This PR updates the ARM GCC toolchain download sources in the Windows CI build script to use xPack GitHub releases instead of ARM's developer website. This resolves persistent download failures caused by CDN access restrictions on
developer.arm.com.Changes Made
arm_gcc_toolchain(): Updated to download from xPack repository
arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabifrom developer.arm.comxpack-arm-none-eabi-gcc-13.2.1-1.1-win32-x64from GitHub xPack releaseshttps://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v13.2.1-1.1/arm64_gcc_toolchain(): Updated to download from xPack repository
arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-aarch64-none-elffrom developer.arm.comxpack-aarch64-none-elf-gcc-13.2.1-1.1-win32-x64from GitHub xPack releaseshttps://github.com/xpack-dev-tools/aarch64-none-elf-gcc-xpack/releases/download/v13.2.1-1.1/Root Cause
The ARM developer website (
developer.arm.com) enforces Akamai CDN-based access restrictions that block automated downloads from GitHub Actions runners. This resulted in "Access Denied" errors (Reference #18.2a0c3417...) when CI jobs attempted to download the ARM GCC toolchain.Why xPack
Impact
windows-2022runnerTesting
Test Environment
windows-2022)Test Procedure
Local Validation (Manual):
arm-none-eabi-gccandaarch64-none-elf-gccbinaries execute correctlyCI Integration (Automated):
Expected Results
arm-none-eabi-gcc --versionandaarch64-none-elf-gcc --versionVerification Steps for Reviewers
To verify this fix: