10
10
11
11
setlocal enableextensions enabledelayedexpansion
12
12
13
+ SET
14
+
13
15
:: Work around CI invocation in vsdevcmd
14
16
:: The build relies on build.ps1, which should not be called in a vs dev cmd
15
17
if " %VSCMD_ARG_HOST_ARCH% " == " " goto Start
@@ -57,10 +59,10 @@ set TEMP=%BuildRoot%\tmp
57
59
set TMP = %BuildRoot% \tmp
58
60
set TMPDIR = %BuildRoot% \tmp
59
61
60
- set NINJA_STATUS = [%% f/%% t][%% p][%% es]
62
+ set NINJA_STATUS = [%% f/%% t][%% p][%% es]
61
63
62
64
:: 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,
64
66
for %%I in (%SKIP_TESTS% ) do (call set TestArg = %%T estArg:%%I ,=%% )
65
67
if " %TestArg:~-1 % " == " ," (set TestArg=%TestArg:~0 ,-1 % ) else (set TestArg= )
66
68
@@ -89,8 +91,6 @@ endlocal
89
91
:CloneRepositories
90
92
setlocal enableextensions enabledelayedexpansion
91
93
92
- if defined SKIP_UPDATE_CHECKOUT goto :eof
93
-
94
94
if defined REPO_SCHEME set " args = --scheme %REPO_SCHEME% "
95
95
96
96
:: Always enable symbolic links
@@ -106,6 +106,7 @@ set "args=%args% --skip-repository ninja"
106
106
set " args = %args% --skip-repository swift-integration-tests"
107
107
set " args = %args% --skip-repository swift-stress-tester"
108
108
set " args = %args% --skip-repository swift-xcode-playground-support"
109
+ set " args = %args% --skip-repository %GIT_CHECKOUT_DIR% "
109
110
110
111
call " %SourceRoot% \swift\utils\update-checkout.cmd" %args% --clone --skip-history --reset-to-remote --github-comment " %ghprbCommentBody% "
111
112
0 commit comments