-
Notifications
You must be signed in to change notification settings - Fork 876
chore: support building Coder Desktop .dylib
#15512
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
Conversation
de5c638
to
3fc4ec2
Compare
Can we call the artifacts |
Yeah the naming is kinda tricky, how does Also, the |
Yeah OK that sounds good to me then.
I'd rather keep the standard anyways. The windows binaries can easily be told apart too because of the |
896082a
to
21f97d0
Compare
21f97d0
to
7eedb27
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.
One nit inline. LGTM
7eedb27
to
054416b
Compare
054416b
to
70cdde5
Compare
Relates to #14734.
Adds
make/coder-dylib
to build the Coder Desktop.dylib
for bothamd64
andarm64
.Adds a
build-dylib
CI job that builds the dylibs on a macOS runner, signs them, uploads them and the header file as a build artifact, and then downloads them and inserts them into the fat binary build during the regularbuild
CI job (which uses an ubuntu runner).Makes the dylibs and the accompanying header file available for download from
/bin
on a Coder deployment.Adds a
build-dylib
torelease.yaml
.release
now downloads and embeds these dylibs in it's builds.Minor fixes to get release dry-runs working again.
/bin
:Latest passing
ci
run: https://github.com/coder/coder/actions/runs/11885370889/build-dylib
artifact: https://github.com/coder/coder/actions/runs/11885370889/artifacts/2199477618Full
build
artifact: https://github.com/coder/coder/actions/runs/11885370889/artifacts/2199489548Latest passing
release
dry-run: https://github.com/coder/coder/actions/runs/11885373782release
build artifact: https://github.com/coder/coder/actions/runs/11885373782/artifacts/2199494843The C interface for the dylib is currently just:
int OpenTunnel(cReadFD int, cWriteFD int)