does anyone have a good solution for running multi...
# community-support
t
does anyone have a good solution for running multiple gradle build invocations in parallel with github actions? I’ve tried in the past with the
parallel
keyword but I think that fails because they all share a container/gradle user home and the processes step all over each other
✅ 1
would I try to define the jobs using a matrix strategy?
t
matrix means multiple VMs so cost can explode. I typically just try to do everything in a single gradle invocation so it can pack the CPU with work for me
👍 1
but otherwise yes, multiple jobs is the other easy way.
t
I run very long-duration functional tests against a gradle plugin, and the full CI run can take around 35min currently, so I’m trying to see if I can bring that runtime down
t
can you give it different gradle home args when invoking? would likely trigger lots of duplicate work but might be worth a try
t
I actually considered that. I may try it! Wish I could share the dependency cache between all the various homes
t
oh yeah especially if you are using GH hosted runners. No wonder things were taking so long. Such is the life of an OSS maintainer
🫠 1