-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
carthage_installation_tests
: optimize SPM package loading
#3129
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,15 @@ desc "Update carthage commit" | |
backup_extension = '.bck' | ||
sh("sed", '-i', backup_extension, sed_regex, '../Cartfile') | ||
end | ||
|
||
lane :installation_tests do | ||
load_spm_dependencies | ||
|
||
Dir.chdir("..") do | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this also use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you run it locally you'd have to run it from |
||
# install without building, then remove the tests and build, so that carthage | ||
# doesn't try to build the other installation tests | ||
sh "carthage", "update", "--no-build" | ||
sh "rm", "-rf", "Carthage/Checkouts/purchases-root/Tests/InstallationTests/" | ||
sh "carthage", "build", "--use-xcframeworks", "--verbose" | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the core change, adding this which was introduced in #3119.