ci: Use GitHub concurrency
This commit is contained in:
parent
b8cfb3d131
commit
cab77b0e4c
|
@ -1,5 +1,9 @@
|
|||
name: cygwin
|
||||
|
||||
concurrency:
|
||||
group: cygwin-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
|
|
|
@ -2,6 +2,10 @@ name: File format check
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: file_fmt-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
name: CI image builder
|
||||
|
||||
concurrency:
|
||||
group: img_builder-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
name: LintMypy
|
||||
|
||||
concurrency:
|
||||
group: mypy-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
name: macos
|
||||
|
||||
concurrency:
|
||||
group: macos-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
name: msys2
|
||||
|
||||
concurrency:
|
||||
group: msys2-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
name: Cross-only compilation environment
|
||||
|
||||
concurrency:
|
||||
group: nonative-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
name: linux
|
||||
|
||||
concurrency:
|
||||
group: linux-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
|
@ -9,6 +9,10 @@ env:
|
|||
CPPFLAGS: "-Werror=unused-parameter -Werror=return-type"
|
||||
FFLAGS: "-fimplicit-none"
|
||||
|
||||
concurrency:
|
||||
group: unusedargs-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
name: Update website
|
||||
|
||||
concurrency:
|
||||
group: mesonbuild.com
|
||||
# We do NOT want `cancel-in-progress` here since only one website job
|
||||
# should run at a time to avoid upload race condtions.
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
Loading…
Reference in New Issue