rhino3dm icon indicating copy to clipboard operation
rhino3dm copied to clipboard

Code-signed binaries for Python version

Open jesterKing opened this issue 3 years ago • 3 comments

On the mac after installing rhino3dm one can't directly load the rhino3dm module when it isn't code-signed.

Currently I need to instruct my users of my Blender add-on to manually remove the quarantine flag, but it would be better if the native binary part is code-signed.

I have such instructions on my release page

https://github.com/jesterKing/import_3dm/releases/tag/0.0.8

jesterKing avatar Jul 07 '21 17:07 jesterKing

Added this PR: https://github.com/mcneel/rhino3dm/pull/415, which I would like help testing. Currently, this is only set up to code-sign the python library: I'd like to test that first.

Once we have that working, I'd like to turn this run step into a reusable action, which I believe is called a "composite run step" (https://docs.github.com/en/actions/creating-actions/creating-a-composite-run-steps-action) that could be called from any of the platform-specific build step. I would also be fine with putting the contents of the script/codesign-native.sh into this reusable step (rather than in a file itself), but I was hesitant to do that until we'd figured this out. I think this is just my lack of experience with GitHub actions...but let's try it together.

dan-rigdon-bel avatar Aug 19 '21 16:08 dan-rigdon-bel

@fraguada Is this working now?

dan-rigdon-bel avatar Nov 15 '21 19:11 dan-rigdon-bel

@dan-rigdon-bel @jesterKing How would I check this? The workflow release was run successfully on all the py packages: https://github.com/mcneel/rhino3dm/actions/runs/1476178680

The artifacts should include packages that were built after your PR was merged.

fraguada avatar Nov 24 '21 15:11 fraguada

This should already be fixed.

fraguada avatar Oct 05 '23 09:10 fraguada