@@ -129,7 +129,11 @@ resources:
129
129
name : unicode-org/icu
130
130
ref : refs/heads/maint/maint-69
131
131
type : github
132
-
132
+ - repository : apple/swift-syntax
133
+ endpoint : GitHub
134
+ name : apple/swift-syntax
135
+ ref : refs/heads/main
136
+ type : github
133
137
134
138
stages :
135
139
- stage : tools
@@ -148,6 +152,8 @@ stages:
148
152
fetchDepth : 1
149
153
- checkout : apple/swift-corelibs-libdispatch
150
154
fetchDepth : 1
155
+ - checkout : apple/swift-syntax
156
+ fetchDepth : 1
151
157
- script : |
152
158
SET vswhere="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
153
159
FOR /f "usebackq delims=" %%i IN (`%vswhere% -latest -property installationPath`) DO (
@@ -189,6 +195,7 @@ stages:
189
195
-D SWIFT_BUILD_STATIC_STDLIB=NO
190
196
-D SWIFT_BUILD_DYNAMIC_SDK_OVERLAY=NO
191
197
-D SWIFT_BUILD_STATIC_SDK_OVERLAY=NO
198
+ -D SWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE=$(Build.SourcesDirectory)/swift-syntax
192
199
- task : CMake@1
193
200
inputs :
194
201
cmakeArgs :
@@ -258,6 +265,8 @@ stages:
258
265
fetchDepth : 1
259
266
- checkout : apple/swift-experimental-string-processing
260
267
fetchDepth : 1
268
+ - checkout : apple/swift-syntax
269
+ fetchDepth : 1
261
270
- powershell : |
262
271
if ("$(arch)" -eq "amd64") {
263
272
$ArchComponent = ".x86.x64"
@@ -364,6 +373,7 @@ stages:
364
373
-D SWIFT_PARALLEL_LINK_JOBS=2
365
374
-D SWIFT_BUILD_DYNAMIC_STDLIB=NO
366
375
-D SWIFT_BUILD_DYNAMIC_SDK_OVERLAY=NO
376
+ -D SWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE=$(Build.SourcesDirectory)/swift-syntax
367
377
$(EXTRA_CMAKE_ARGS)
368
378
- task : CMake@1
369
379
inputs :
@@ -808,6 +818,8 @@ stages:
808
818
fetchDepth : 1
809
819
- checkout : apple/swift-experimental-string-processing
810
820
fetchDepth : 1
821
+ - checkout : apple/swift-syntax
822
+ fetchDepth : 1
811
823
- powershell : |
812
824
if ("$(arch)" -eq "amd64" -Or "$(arch)" -eq "x86") {
813
825
$ArchComponent = ".x86.x64"
@@ -887,6 +899,7 @@ stages:
887
899
-D SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING=YES
888
900
-D SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING=YES
889
901
-D EXPERIMENTAL_STRING_PROCESSING_SOURCE_DIR=$(Build.SourcesDirectory)/swift-experimental-string-processing
902
+ -D SWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE=$(Build.SourcesDirectory)/swift-syntax
890
903
- task : CMake@1
891
904
inputs :
892
905
cmakeArgs :
@@ -1068,6 +1081,8 @@ stages:
1068
1081
fetchDepth : 1
1069
1082
- checkout : jpsim/Yams
1070
1083
fetchDepth : 1
1084
+ - checkout : apple/swift-syntax
1085
+ fetchDepth : 1
1071
1086
- script : |
1072
1087
SET vswhere="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
1073
1088
FOR /f "usebackq delims=" %%i IN (`%vswhere% -latest -property installationPath`) DO (
@@ -1470,6 +1485,8 @@ stages:
1470
1485
fetchDepth : 1
1471
1486
- checkout : apple/swift
1472
1487
fetchDepth : 1
1488
+ - checkout : apple/swift-syntax
1489
+ fetchDepth : 1
1473
1490
- task : MSBuild@1
1474
1491
inputs :
1475
1492
solution : $(Build.SourcesDirectory)/swift-installer-scripts/platforms/Windows/toolchain.wixproj
@@ -1539,6 +1556,8 @@ stages:
1539
1556
fetchDepth : 1
1540
1557
- checkout : apple/swift
1541
1558
fetchDepth : 1
1559
+ - checkout : apple/swift-syntax
1560
+ fetchDepth : 1
1542
1561
- task : MSBuild@1
1543
1562
inputs :
1544
1563
solution : $(Build.SourcesDirectory)/swift-installer-scripts/platforms/Windows/CustomActions/SwiftInstaller/SwiftInstaller.vcxproj
0 commit comments