ci: prefer dedicated tiggers for platform workflows, so sporadic fails can be retried quicker (#21251)

This commit is contained in:
Turiiya 2024-04-11 15:19:01 +02:00 committed by GitHub
parent 48800d4b0c
commit 6be2717680
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 42 additions and 36 deletions

View File

@ -1,33 +0,0 @@
name: Code CI
on:
push:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/code_ci.yml'
- '!**/linux_ci.yml'
- '!**/macos_ci.yml'
- '!**/windows_ci.yml'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/code_ci.yml'
- '!**/linux_ci.yml'
- '!**/macos_ci.yml'
- '!**/windows_ci.yml'
concurrency:
group: code-ci-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
linux:
uses: ./.github/workflows/linux_ci.yml
macos:
uses: ./.github/workflows/macos_ci.yml
windows:
uses: ./.github/workflows/windows_ci.yml

View File

@ -1,7 +1,20 @@
name: CI Linux
on:
workflow_call:
push:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/linux_ci.yml'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/linux_ci.yml'
concurrency:
group: linux-ci-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
tcc:

View File

@ -1,7 +1,20 @@
name: CI macOS
on:
workflow_call:
push:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/macos_ci.yml'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/macos_ci.yml'
concurrency:
group: macos-ci-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
clang:

View File

@ -1,7 +1,20 @@
name: CI Windows
on:
workflow_call:
push:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/windows_ci.yml'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/windows_ci.yml'
concurrency:
group: windows-ci-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
gcc: