@iamsteinco I'm afraid I didn't get around it on my Mac. I compiled HISE using GitHub Actions.
It's a bit of a process but I eventually got it so that every time I push to my HISE fork on GitHub, it built the app on the GitHub servers. I would then download the ZIP, un-zip it on my Mac and move the HISE.app to my Applications folder.
The 'real' solution was to get a Mac with more RAM. I recently got an M4 MacBook Air with 32GB RAM and it compiles HISE in about 30 seconds now - no sweat!
If you want me to send you the files I used to build HISE using GitHub Actions let me know.