Use Projucer in GitLab-CI

Hello,

I’m using JUCE for an academical project and I’m trying to use it inside GitLab-CI. The error message I have is :
error_gitlab
Don’t mind the weird path at the end I just erased it :wink:
Do you know if Projucer can run in command line, and if yes how ?

Thanks a lot

You should be able to run it under xvfb-run.

Try this:

export GDK_BACKEND=x11

sudo apt-get update
sudo apt-get install xvfb

Xvfb :99 &
export DISPLAY=:99
sleep 5

We’ve got better support for running headless Linux JUCE apps (including the Projucer) coming soon, so we’ll be able to remove the xvfb dependency when that’s released.

4 Likes

Thank you it worked well !

Hi,

I have a Projucer on GitLab-CI/CD. It appears to work fine. The issue I’m facing is codesign the builds.

Standalone App:

signed app bundle with Mach-O thin (x86_64)

AU/VST3:

unsealed contents present in the bundle root

Any ideas?

All the best,
Paulo

UPDATE:
This happened because the binary locations were not blank. Disabling copy binaries solved the problem.