Skip to content

Commit 46b45b6

Browse files
authored
Merge pull request #38980 from compnerd/artifacts
build: identify and centralise the build artifacts
2 parents 9fbf359 + a323cf6 commit 46b45b6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

utils/build-windows-toolchain.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,16 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\installer.wixproj
666666
:: TODO(compnerd) actually perform the code-signing
667667
:: signtool sign /f Apple_CodeSign.pfx /p Apple_CodeSign_Password /tr http://timestamp.digicert.com /fd sha256 %PackageRoot%\installer\installer.exe
668668

669+
:: Stage Artifacts
670+
md %BuildRoot%\artifacts
671+
:: FIXME(compnerd) should we provide SDKs as standalone artifact?
672+
move %PackageRoot%\sdk.msi %BuildRoot%\artifacts || (exit /b)
673+
:: Redistributable libraries for developers
674+
move %PackageRoot%\runtime.msi %BuildRoot%\artifacts || (exit /b)
675+
move %PackageRoot%\icu.msi %BuildRoot%\artifacts || (exit /b)
676+
:: Installer
677+
move %PackageRoot%\installer\installer.exe %BuildRoot%\artifacts || (exit /b)
678+
669679
:: TODO(compnerd) test LLVM
670680

671681
:: Test Swift

0 commit comments

Comments
 (0)