File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ del /f /q "%UniversalCRTSdkDir%\Include\%UCRTVersion%\um\module.modulemap"
50
50
del /f /q " %VCToolsInstallDir% \include\module.modulemap"
51
51
del /f /q " %VCToolsInstallDir% \include\vcruntime.apinotes"
52
52
53
+ call :FetchWiX || (exit /b)
54
+ call :FetchX64Toolchain || (exit /b)
53
55
call :CloneDependencies || (exit /b)
54
56
call :CloneRepositories || (exit /b)
55
57
@@ -815,6 +817,29 @@ git clone --quiet --no-tags --depth 1 --branch curl-7_77_0 https://github.com/cu
815
817
goto :eof
816
818
endlocal
817
819
820
+ :FetchWiX
821
+ setlocal enableextensions enabledelayedexpansion
822
+
823
+ curl.exe -sL https://www.nuget.org/api/v2/package/wix/4.0.1 -o wix-4.0.1.zip
824
+ md WiX-4.0.1
825
+ tar -C WiX-4.0.1 xf wix-4.0.1.zip
826
+
827
+ goto :eof
828
+ endlocal
829
+
830
+ :FetchX64Toolchain
831
+ setlocal enableextensions enabledelayedexpansion
832
+
833
+ curl.exe -OL " https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a/swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a-windows10.exe" || (exit /b)
834
+ " WiX-4.0.1\tools\net6.0\any\wix.exe" burn extract swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a-windows10.exe -o %BuildRoot% \toolchains || (exit /b)
835
+ msiexec.exe /qn /a " %BuildRoot% \toolchains\a0" TARGETDIR=" %BuildRoot% \toolchains\swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a\PFiles64\Swift\Runtimes\0.0.0\usr\bin\ || (exit /b)
836
+ msiexec.exe /qn /a " %BuildRoot% \toolchains\a1" TARGETDIR=" %BuildRoot% \toolchains\swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a\ || (exit /b)
837
+ msiexec.exe /qn /a " %BuildRoot% \toolchains\a2" TARGETDIR=" %BuildRoot% \toolchains\swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a\ || (exit /b)
838
+ msiexec.exe /qn /a " %BuildRoot% \toolchains\a5" TARGETDIR=" %BuildRoot% \toolchains\swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a\ || (exit /b)
839
+
840
+ goto :eof
841
+ endlocal
842
+
818
843
:TestSwift
819
844
setlocal enableextensions enabledelayedexpansion
820
845
You can’t perform that action at this time.
0 commit comments