apple / swift-foundation

The Foundation project
Apache License 2.0
2.28k stars 135 forks source link

Add SWIFTCI_USE_LOCAL_DEPS build mode #694

Closed jmschonfeld closed 2 weeks ago

jmschonfeld commented 2 weeks ago

When building/running Foundation tests in swift-ci as part of a full toolchain test (and not just an isolated test of only Foundation), we want to build this package against the locally checked out versions of our dependencies. This checks a new environment variable SWIFTCI_USE_LOCAL_DEPS and, when set, will look in sibling directories for our dependencies rather than checking out dependencies from GitHub. This is similar to the setup that some other packages such as swift-format use.

jmschonfeld commented 2 weeks ago

@swift-ci please test