Skip to content

How can I configure GitHub Workflows to build mpv for macOS 13 arm64 #15972

Answered by Akemi
dragonman225 asked this question in Q&A
Discussion options

You must be logged in to vote

i think you are misunderstanding how this works completely.

first of all nightly builds we provide are build for the macOS version and architecture it is build on (github runner). for details see https://github.com/actions/runner-images?tab=readme-ov-file#available-images.
macos-13 > macOS 13 intel
macos-14 > mac OS 14 ARM
macos-15 > macOS 15 ARM

changing "arch" doesn't do much besides changing the name of the resulting zip (https://github.com/forkshub/mpv/blob/11df963a878d89721c705de3e8bc06cbcd3fd39a/.github/workflows/build.yml#L100).

if you want to change the target version of the resulting binary you have to set the target for the c parts (MACOSX_DEPLOYMENT_TARGET) and swift (--target)…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Akemi
Comment options

Akemi Feb 26, 2025
Collaborator

Comment options

You must be logged in to vote
2 replies
@dragonman225
Comment options

@Akemi
Comment options

Akemi Feb 26, 2025
Collaborator

Answer selected by dragonman225
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants