Skip to content

Commit 2a44645

Browse files
committed
WIP
1 parent 700493e commit 2a44645

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

utils/build-windows-toolchain.bat

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
setlocal enableextensions enabledelayedexpansion
1212

13+
SET
14+
1315
:: Work around CI invocation in vsdevcmd
1416
:: The build relies on build.ps1, which should not be called in a vs dev cmd
1517
if "%VSCMD_ARG_HOST_ARCH%"=="" goto Start
@@ -57,10 +59,10 @@ set TEMP=%BuildRoot%\tmp
5759
set TMP=%BuildRoot%\tmp
5860
set TMPDIR=%BuildRoot%\tmp
5961

60-
set NINJA_STATUS=[%%f/%%t][%%p][%%es]
62+
set NINJA_STATUS=[%%f/%%t][%%p][%%es]
6163

6264
:: Build the -Test argument, if any, by subtracting skipped tests
63-
set TestArg=-Test lld,swift,dispatch,foundation,xctest,
65+
set TestArg=-Test lld,swift,dispatch,foundation,xctest,swift-format,
6466
for %%I in (%SKIP_TESTS%) do (call set TestArg=%%TestArg:%%I,=%%)
6567
if "%TestArg:~-1%"=="," (set TestArg=%TestArg:~0,-1%) else (set TestArg= )
6668

@@ -89,8 +91,6 @@ endlocal
8991
:CloneRepositories
9092
setlocal enableextensions enabledelayedexpansion
9193

92-
if defined SKIP_UPDATE_CHECKOUT goto :eof
93-
9494
if defined REPO_SCHEME set "args=--scheme %REPO_SCHEME%"
9595

9696
:: Always enable symbolic links
@@ -106,6 +106,7 @@ set "args=%args% --skip-repository ninja"
106106
set "args=%args% --skip-repository swift-integration-tests"
107107
set "args=%args% --skip-repository swift-stress-tester"
108108
set "args=%args% --skip-repository swift-xcode-playground-support"
109+
set "args=%args% --skip-repository %GIT_CHECKOUT_DIR%"
109110

110111
call "%SourceRoot%\swift\utils\update-checkout.cmd" %args% --clone --skip-history --reset-to-remote --github-comment "%ghprbCommentBody%"
111112

0 commit comments

Comments
 (0)