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

feat: add macOS builder script for CI #345

Merged
merged 38 commits into from
Mar 6, 2024

Conversation

gnattu
Copy link
Member

@gnattu gnattu commented Mar 4, 2024

Changes

Preliminary scripts for macOS builder. There are enough difference that made me to make a dedicated script.

One thing to note is that the arm64 host is macOS 14 exclusive, which means the binary built for arm64 will use newer toolchain than the x86 one using macOS 12 toolchain.

The script currently is only good for CI clean build, but documented the caveats in case someone want to build locally.

Issues

Fixes #339

@gnattu gnattu marked this pull request as draft March 4, 2024 15:23
Github’s macOS runner will have libxcb installed and that  confuses ffmpeg which will add -lX11 to our build, but we are not using any of the x11 features.
@gnattu gnattu requested a review from nyanmisaka March 4, 2024 22:32
@gnattu gnattu marked this pull request as ready for review March 4, 2024 22:32
@gnattu gnattu requested a review from Shadowghost March 5, 2024 10:40
Copy link
Member

@nyanmisaka nyanmisaka left a comment

Choose a reason for hiding this comment

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

LGTM. Still need to wait for @Shadowghost to take a closer look at the changes in GH actions.

Copy link
Contributor

@Gauvino Gauvino left a comment

Choose a reason for hiding this comment

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

CI and typos LGTM

Copy link
Contributor

@Shadowghost Shadowghost left a comment

Choose a reason for hiding this comment

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

Should be good to go, If something in the workflows is broken, we'll see it only on publish anyways.

@gnattu gnattu merged commit 620f0d2 into jellyfin:jellyfin Mar 6, 2024
31 checks passed
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.

Road to macOS builds
4 participants