You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Start multiple runners for processing a couple of jobs in parallel #8
Is there going to be support for matrix jobs in the future? Is there a way to workaround it for now?
For example, if my build is running for java versions:
strategy:
java: [16, 17, 18]
I want to be able to start 3 ec2 slaves and each one of them will have a unique label which will consist of the java version:
${{ needs.start-runner.outputs.label }}_16 ${{ needs.start-runner.outputs.label }}_17 ${{ needs.start-runner.outputs.label }}_18
So I'll be able to run my builds in parallel for each java version
Activity
messense commentedon Jun 30, 2021
This is actually quite easy to implement, I've done it in my fork of this project for huaweicloud, see messense/huaweicloud-github-runner@2354ded
gils-upstream commentedon Apr 24, 2022
Is there going to be support for matrix jobs in the future? Is there a way to workaround it for now?
For example, if my build is running for java versions:
strategy:
java: [16, 17, 18]
I want to be able to start 3 ec2 slaves and each one of them will have a unique label which will consist of the java version:
${{ needs.start-runner.outputs.label }}_16 ${{ needs.start-runner.outputs.label }}_17 ${{ needs.start-runner.outputs.label }}_18
So I'll be able to run my builds in parallel for each java version