Skip to content

Commit 24a444d

Browse files
authored
Merge pull request #5033 from apple/no-assertions-preset
[Preset] Add support for no assertions preset
2 parents 33228c6 + a6933dd commit 24a444d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

utils/build-presets.ini

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,20 @@ swift-stdlib-build-type=RelWithDebInfo
134134
swift-stdlib-enable-assertions=false
135135
build-serialized-stdlib-unittest
136136

137+
[preset: mixin_buildbot_tools_R_stdlib_RD]
138+
mixin-preset=
139+
mixin_buildbot_trunk_base
140+
mixin_buildbot_install_components
141+
142+
# Build Release without debug info, because it is faster to build.
143+
release
144+
no-assertions
145+
146+
dash-dash
147+
148+
swift-stdlib-build-type=RelWithDebInfo
149+
swift-stdlib-enable-assertions=false
150+
build-serialized-stdlib-unittest
137151

138152
[preset: mixin_buildbot_tools_RA_stdlib_DA]
139153
mixin-preset=
@@ -174,6 +188,19 @@ skip-test-ios-host
174188
skip-test-tvos-host
175189
skip-test-watchos-host
176190

191+
preset: buildbot,tools=R,stdlib=RD]
192+
mixin-preset=
193+
mixin_buildbot_tools_R_stdlib_RD
194+
195+
dash-dash
196+
197+
# Don't run host tests for iOS, tvOS and watchOS platforms to make the build
198+
# faster.
199+
skip-test-ios-host
200+
skip-test-tvos-host
201+
skip-test-watchos-host
202+
203+
177204
[preset: buildbot,tools=RA,stdlib=RDA]
178205
mixin-preset=
179206
mixin_buildbot_tools_RA_stdlib_RDA

0 commit comments

Comments
 (0)