Hello,
I have multiple Windows and macOS machines with runners and I'd like all of them to be able to run a pipeline that do no require a specific OS.
I thought I could just use self.hosted alone, but it didn't work, the pipeline DebugPipeline fails with ''Currently no online runner available that matches the required labels"
custom:
debug-mac:
- step:
name: 'DebugPipelineMac'
runs-on:
- self.hosted
- macos
script:
- echo 'DebugPipelineMac'
debug-win:
- step:
name: 'DebugPipelineWin'
runs-on:
- self.hosted
- windows
script:
- echo 'DebugPipelineWin'
debug:
- step:
name: 'DebugPipeline'
runs-on:
- self.hosted
script:
- echo 'DebugPipeline'
How can I achieve this ? I used custom pipelines in this example, but ideally I want to use it for pull-requests ones, we tend to have many short terms of them and I'd like to spread the loads on all machines.