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

Change CI to generate universal macos binary #11

Merged
merged 18 commits into from Feb 24, 2024

Conversation

keynmol
Copy link
Contributor

@keynmol keynmol commented Feb 23, 2024

No description provided.

@eed3si9n eed3si9n marked this pull request as ready for review February 24, 2024 04:56
@eed3si9n eed3si9n merged commit fa5252b into sbt:develop Feb 24, 2024
6 checks passed
@keynmol keynmol deleted the generate-universal-macos-binary branch February 24, 2024 08:02
@keynmol
Copy link
Contributor Author

keynmol commented Feb 24, 2024

I confirmed that the binary attached to 1.9.9 release is a universal binary:

/Users/velvetbaldmime/Downloads/sbtn-universal-apple-darwin: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
/Users/velvetbaldmime/Downloads/sbtn-universal-apple-darwin (for architecture x86_64):  Mach-O 64-bit executable x86_64
/Users/velvetbaldmime/Downloads/sbtn-universal-apple-darwin (for architecture arm64):   Mach-O 64-bit executable arm64

and after chmoding it and removing the quarantine attribute it launches SBT:

~/p/n/proompts (refactor) > xattr -d com.apple.quarantine ~/Downloads/sbtn-universal-apple-darwin
~/p/n/proompts (refactor) > ~/Downloads/sbtn-universal-apple-darwin
[info] entering *experimental* thin client - BEEP WHIRR
[info] server was not detected. starting an instance
[info] welcome to sbt 1.9.7 (GraalVM Community Java 17.0.4)
[info] loading settings for project global-plugins from plugins.sbt ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants