Skip to content

Change CI to generate universal macos binary - #11

Merged
eed3si9n merged 18 commits into
sbt:developfrom
keynmol:generate-universal-macos-binary
Feb 24, 2024
Merged

eed3si9n merged 18 commits into
sbt:developfrom
keynmol:generate-universal-macos-binary

Conversation

@keynmol

@keynmol keynmol commented Feb 23, 2024

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
Comment thread .github/workflows/native.yml Outdated
@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
@keynmol
keynmol deleted the generate-universal-macos-binary branch February 24, 2024 08:02
@keynmol

keynmol commented Feb 24, 2024

Copy link
Copy Markdown
Contributor Author

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 ...

@julienrf

julienrf commented May 3, 2024

Copy link
Copy Markdown
Contributor

The GITHUB_TOKEN we were using in the Cirrus CI job is expiring in a couple of days. I guess we don’t need it anymore, right? Should we also remove that script, then?

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.

3 participants