1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-02-02 20:14:07 +00:00

CI: cancel previous jobs in the group

https://stackoverflow.com/a/72408109
This commit is contained in:
The Tumultuous Unicorn Of Darkness 2024-08-03 12:34:49 +02:00
parent d86097846b
commit ddd5868577
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
7 changed files with 28 additions and 0 deletions

View file

@ -8,6 +8,10 @@ on:
branches: branches:
- '*' - '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build_dragonflybsd: build_dragonflybsd:
name: Build on ${{ matrix.box }} name: Build on ${{ matrix.box }}

View file

@ -8,6 +8,10 @@ on:
branches: branches:
- '*' - '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build_freebsd: build_freebsd:
name: Build on ${{ matrix.box }} name: Build on ${{ matrix.box }}

View file

@ -8,6 +8,10 @@ on:
branches: branches:
- '*' - '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build_linux: build_linux:
name: Build on ${{ matrix.os }} name: Build on ${{ matrix.os }}

View file

@ -8,6 +8,10 @@ on:
branches: branches:
- '*' - '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build_macos: build_macos:
name: Build on ${{ matrix.os.name }} name: Build on ${{ matrix.os.name }}

View file

@ -8,6 +8,10 @@ on:
branches: branches:
- '*' - '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build_netbsd: build_netbsd:
name: Build on ${{ matrix.box }} name: Build on ${{ matrix.box }}

View file

@ -8,6 +8,10 @@ on:
branches: branches:
- '*' - '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build_openbsd: build_openbsd:
name: Build on ${{ matrix.box }} name: Build on ${{ matrix.box }}

View file

@ -8,6 +8,10 @@ on:
branches: branches:
- '*' - '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build_win: build_win:
name: Build on Windows ${{ matrix.platform.bitness }} as ${{ matrix.config }} name: Build on Windows ${{ matrix.platform.bitness }} as ${{ matrix.config }}