Run Qt app headless in Github Actions on macOS
-
Thank you.
I had troubles running it with the offscreen plugin due to differences in application/library signing, but worked out that the headless issue itself was a red herring: an application can run just fine in Github Actions on macOS, they do not use a headless environment there.
-
Hi,
You can use the offscreen platform plugin for that.
-
Thank you.
I had troubles running it with the offscreen plugin due to differences in application/library signing, but worked out that the headless issue itself was a red herring: an application can run just fine in Github Actions on macOS, they do not use a headless environment there.
-
-
Can you explain what was the signing issue you had ? It might help others on the future.
-
Sure, here is the debug output when running with the offscreen plugin - I imagine cocoa was similar: https://sprunge.us/LE0PNl
I ended up 'fixing' it by stripping the signature off my application, which is OK to do as this binary won't leave the CI environment:
sudo codesign --remove-signature <.app here>
-
Sure, here is the debug output when running with the offscreen plugin - I imagine cocoa was similar: https://sprunge.us/LE0PNl
I ended up 'fixing' it by stripping the signature off my application, which is OK to do as this binary won't leave the CI environment:
sudo codesign --remove-signature <.app here>
Ok, I am surprised by that error. Thanks for sharing !