Skip to content
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

Add Ubuntu22.04 build, simplify workflow, and cleanup a couple things in the script #4

Merged
merged 7 commits into from
Dec 21, 2022

Conversation

L1ghtmann
Copy link
Contributor

@L1ghtmann L1ghtmann commented Nov 19, 2022

Tested successfully on both osx and linux

Copy link
Owner

@kabiroberai kabiroberai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I've left a few comments, some stylistic nits but others are substantial, so it'd be great if you could address those.

.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
create-toolchain Outdated Show resolved Hide resolved
create-toolchain Outdated
Comment on lines 102 to 104
if [[ "${is_mac}" -eq 1 ]]; then
cp -a "${mac_toolchain}"/usr/lib/{swift-5.0,arc} linux/iphone/lib/
fi
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the rationale behind this change? arclite is arguably less relevant now, but including swift-5.0 is still necessary if back-deploying to iOS < 12.2.

Copy link
Contributor Author

@L1ghtmann L1ghtmann Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm interesting, thanks for flagging — in that case we should either emit a warning that the toolchain won't include pre-12.2 compat, or not support building on Linux. There's also a third option which is getting the 5.0 libs from somewhere else (since they're effectively frozen in time now) but I'm not sure what a good official source would be.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure which 5.0 directories need to be included, so just went with a warning for the time being.

Copy link
Owner

@kabiroberai kabiroberai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the release.yml cleanup 🙌

@kabiroberai kabiroberai merged commit ea524ec into kabiroberai:master Dec 21, 2022
@L1ghtmann L1ghtmann deleted the pr branch December 21, 2022 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants