-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
swiftly: add Linux support #224646
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
swiftly: add Linux support #224646
Conversation
Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request. |
b753f2c
to
89e8091
Compare
89e8091
to
4e07d8e
Compare
A previous commit with the exact same code changes was entirely green for CI. There appears to be a transient error in one of the jobs. |
The test is too slow, is there a quicker test we could do? |
4e07d8e
to
32447de
Compare
The test was from the original formula, which involves downloading a swift toolchain. I've reduced the test to only performing a private install of swiftly. |
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.
Great you got this to work!
5b09a40
to
15229ac
Compare
15229ac
to
d48ad05
Compare
My bad, there was a style issue and so I added it. |
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.
Thanks @supertxtnet ! Without contributions like yours it'd be impossible to keep homebrew going with the high standards that users have come to expect from the project. You can feel good knowing that you've made the world a tiny bit better for homebrew users around the world! 👍 🎉
d48ad05
to
a3af200
Compare
@supertxtnet I have fixed a syntax but it is reverted. Can you run |
Thanks @SMillerDev, the libarchive dependency got merged out, so I've added it back in. |
* Add SPM arguments for swiftly on Linux with homebrew * Fix the tests for Linux * Test swiftly by running its init routine
a3af200
to
9166687
Compare
@daeho-ro the checks all seem to pass including the one that you suggested. Is there anything left to do here? |
🤖 An automated task has requested bottles to be published to this PR. Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch. |
Add the necessary SPM arguments for Linux so that swiftly can be
built on that platform. Adjust the test so that it can pass with Linux.
Adjust the test to test swiftly on its own, and not the toolchain it
downloads.