Avoiding build timeouts #2161
-
Our package currently takes a long time to build because building the whole thing is a lot of code across ~320 package products. All of our SPI builds that don't otherwise fail are currently timing out. We totally get that SPI needs to limit package build time to conserve build minutes. Accordingly, we'd like to customize our build so we can build a subset of our targets; i.e. enough to prove build compatibility. I see the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for reporting this, @jbelkins, and great to hear that you're looking into working around our build time limit! It's indeed been tricky for us to both allow for a range of different build times while also ensuring that we're not accumulating a backlog when "heavy" packages are publishing releases. As you've seen, we support the There's also a So if that's an option, it might make sense to add a new target to you version: 1
builder:
configs:
- platform: linux
target: SPICompatibility
|
Beta Was this translation helpful? Give feedback.
Thanks for reporting this, @jbelkins, and great to hear that you're looking into working around our build time limit!
It's indeed been tricky for us to both allow for a range of different build times while also ensuring that we're not accumulating a backlog when "heavy" packages are publishing releases.
As you've seen, we support the
scheme:
key in.spi.yml
to allow for package authors to specify an Xcode scheme for builds driven by Xcode (macos-xcode
,ios
,watchos
,tvos
).There's also a
target:
key, which does a similar thing for SPM-based builds (macos-spm
,linux
). See the SPIManifest documentation for details.So if that's an option, it might make sense to add a new target to you
Packa…