Skip to content

Add support for MacOS-arm64 binary releases#57

Merged
JaimeSeqLabs merged 10 commits intomasterfrom
macos-release
Nov 7, 2025
Merged

Add support for MacOS-arm64 binary releases#57
JaimeSeqLabs merged 10 commits intomasterfrom
macos-release

Conversation

@JaimeSeqLabs
Copy link
Contributor

Description

Update the GA runner and JReleaser config to produce and upload Migtool GraalVM executables built for MacOS arm64 (M1, M2, M3, etc) processors.

Warning

GA MacOS runners don't support running the migtool tests at the moment.

Migtool tests use Docker to spin up a MySQL database in which to run migrations. Currently, Docker does not work in arm64 GA runners because the nested virtualization is not supported for that family of processors 👉 https://docs.github.com/en/actions/reference/runners/larger-runners#limitations-for-macos-larger-runners

Nested-virtualization and Metal Performance Shaders (MPS) are not supported due to the limitation of Apple's Virtualization Framework

This may change in the future but, for now, I just skip the tests if running inside the MacOS runner (the tests still run in the Linux runner as usual).

@munishchouhan
Copy link
Member

build is working, tested here: https://github.com/munishchouhan/migtool/actions/runs/19079380505

The binary needs to be signed to make them work on mac, like its done for wave cli and tower cli
https://github.com/seqeralabs/wave-cli/blob/master/.github/workflows/build.yml

@jordigg can provide you with all the required information

Screenshot 2025-11-04 at 20 02 00

@JaimeSeqLabs
Copy link
Contributor Author

JaimeSeqLabs commented Nov 6, 2025

@munishchouhan, @jordigg I refactored the build steps to separate linux and macos builds. I also added the same sign and notarize setup as the tw-cli repo but it looks like we are missing the MacOS certificate secrets for this repo (?)

I tried the sign step in 09dcf41 but the run failed -> https://github.com/seqeralabs/migtool/actions/runs/19145161087/job/54720726353

@munishchouhan
Copy link
Member

munishchouhan commented Nov 6, 2025

@munishchouhan, @jordigg I refactored the build steps to separate linux and macos builds. I also added the same sign and notarize setup as the tw-cli repo but it looks like we are missing the MacOS certificate secrets for this repo (?)

I tried the sign step in 09dcf41 but the run failed -> https://github.com/seqeralabs/migtool/actions/runs/19145161087/job/54720726353

There are all org secrets, so it should work here too.
@jordigg anything we are missing?
I tried to login to seqera apple developer account but it requires MFA and code goes to some phone

@munishchouhan
Copy link
Member

We saw the same error in wave-cli too
seqeralabs/wave-cli#20 (comment)

@munishchouhan
Copy link
Member

It may be an issue of org secrets present in this repo
checking with devops

@munishchouhan
Copy link
Member

@JaimeSeqLabs codesign is working now, please go ahead with the pr

@JaimeSeqLabs JaimeSeqLabs marked this pull request as ready for review November 7, 2025 11:55
@JaimeSeqLabs JaimeSeqLabs merged commit d450b5e into master Nov 7, 2025
3 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.

2 participants