-
Notifications
You must be signed in to change notification settings - Fork 13
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
Bundle Saturn L2 node #34
Conversation
Signed-off-by: Miroslav Bajtoš <saturn@bajtos.net>
73b7ac2
to
ae7ef9e
Compare
ae7ef9e
to
71ece08
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🟢 including binary inside of DMG should be fine
- this is actually an easy hack to ensure your daemon binary is correctly notarized on macOS, even when upstream binary does not include signing/notarization metadata – as part of notarization step on CI everything inside of DMG gets hashed and "blessed" by Apple
⚠️ fetching release artifacts will get rate-limited and your builds will fail (example) – i think you can fix this by using GITHUB_TOKEN provided by Github Action env (raises request limit to 1k / hours)
Thank you, @lidel! Your insights are always helpful 👏🏻 I have two more questions if you don't mind. (1) In the current implementation, I am downloading release archives for all combinations of (platform, architecture). This would be useful if we were cross-compiling for multiple platforms from the same source tree. However, IIUC, our build setup is always building for the current platform & architecture only. That means we can download only one release archive. Is it a reasonable assumption? (2) Do you happen to know what's the story for building Electron for M1 Macs?
Support for darwin-arm64 is most likely out of scope of MVP, I created a new GH issue for that: #35 |
Based on what I found regarding Apple M1 builds, I am leaning towards downloading all architectures (x64, arm64) for the current platform (e.g. darwin). |
In 8b9208e, I reworked the implementation to use GITHUB_TOKEN when calling GitHub and fetch release archives for the current platform only. Using the dist files attached to GHA run, I verified on the following platforms that Station contains saturn-l2 binary that can be executed: MacOS M1, Windows x64. |
|
89f3e91
to
0f1d220
Compare
Signed-off-by: Miroslav Bajtoš <saturn@bajtos.net>
0f1d220
to
d0d3195
Compare
Close #19