@@ -277,22 +277,12 @@ on:
277277 required : true
278278
279279env :
280- PINNED_BOOTSTRAP_TOOLCHAIN_VERSION : 6.0.1
281-
282- # Workaround for the upstream builds are still built with VS versions (17.9.x and 17.10.x)
283- # with the ARM64 miscompile bug.
284- WORKAROUND_WINDOWS_PINNED_BOOTSTRAP_TOOLCHAIN_REPO : thebrowsercompany/swift-build
285- WORKAROUND_WINDOWS_PINNED_BOOTSTRAP_TOOLCHAIN_VERSION : 6.0.0-20241216.0
280+ PINNED_BOOTSTRAP_TOOLCHAIN_VERSION : 6.1.2
286281
287282 # Workaround to build the early swift-driver without the workaround for the MSVC version.
288283 WORKAROUND_WINDOWS_EARLY_SWIFT_DRIVER_TOOLCHAIN_REPO : thebrowsercompany/swift-build
289284 WORKAROUND_WINDOWS_EARLY_SWIFT_DRIVER_TOOLCHAIN_VERSION : 6.2.0-20250630.0
290285
291- # Workaround for issues with building with MSVC 14.43.
292- # See https://github.com/swiftlang/swift/issues/79852 for details.
293- # TODO: Remove this once the bootstrap toolchain is updated to 6.1.
294- WORKAROUND_BOOTSTRAP_WINDOWS_MSVC_VERSION : 14.42
295-
296286defaults :
297287 run :
298288 shell : pwsh
@@ -892,11 +882,9 @@ jobs:
892882 show-progress : false
893883 - uses : ./SourceCache/ci-build/.github/actions/setup-build
894884 with :
895- msvc-version : ${{ env.WORKAROUND_BOOTSTRAP_WINDOWS_MSVC_VERSION }}
896885 setup-vs-dev-env : true
897886 host-arch : ${{ matrix.arch }}
898- swift-version : ${{ inputs.build_os == 'Windows' && env.WORKAROUND_WINDOWS_PINNED_BOOTSTRAP_TOOLCHAIN_VERSION || env.PINNED_BOOTSTRAP_TOOLCHAIN_VERSION }}
899- swift-repo : ${{ inputs.build_os == 'Windows' && env.WORKAROUND_WINDOWS_PINNED_BOOTSTRAP_TOOLCHAIN_REPO || '' }}
887+ swift-version : ${{ env.PINNED_BOOTSTRAP_TOOLCHAIN_VERSION }}
900888
901889 - uses : seanmiddleditch/gha-setup-ninja@96bed6edff20d1dd61ecff9b75cc519d516e6401 # master
902890 if : inputs.build_os == 'Darwin'
@@ -1644,8 +1632,7 @@ jobs:
16441632 with :
16451633 setup-vs-dev-env : ${{ matrix.os == 'Windows' }}
16461634 host-arch : ${{ matrix.arch }}
1647- swift-version : ${{ inputs.build_os == 'Windows' && env.WORKAROUND_WINDOWS_PINNED_BOOTSTRAP_TOOLCHAIN_VERSION || env.PINNED_BOOTSTRAP_TOOLCHAIN_VERSION }}
1648- swift-repo : ${{ inputs.build_os == 'Windows' && env.WORKAROUND_WINDOWS_PINNED_BOOTSTRAP_TOOLCHAIN_REPO || '' }}
1635+ swift-version : ${{ env.PINNED_BOOTSTRAP_TOOLCHAIN_VERSION }}
16491636 - uses : seanmiddleditch/gha-setup-ninja@96bed6edff20d1dd61ecff9b75cc519d516e6401 # master
16501637 if : inputs.build_os == 'Darwin'
16511638
0 commit comments