Cancel current CI actions when a PR is updated
This should help get build feedback more quickly when someone is iterating on a PR
This commit is contained in:
parent
25e62193f4
commit
f9ad84fd5d
11 changed files with 45 additions and 1 deletions
4
.github/workflows/android.yml
vendored
4
.github/workflows/android.yml
vendored
|
@ -2,6 +2,10 @@ name: Build (Android)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
android:
|
||||
name: ${{ matrix.platform.name }}
|
||||
|
|
4
.github/workflows/emscripten.yml
vendored
4
.github/workflows/emscripten.yml
vendored
|
@ -2,6 +2,10 @@ name: Build (Emscripten)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
emscripten:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
6
.github/workflows/ios.yml
vendored
6
.github/workflows/ios.yml
vendored
|
@ -2,6 +2,10 @@ name: Build (iOS/tvOS)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
name: ${{ matrix.platform.name }}
|
||||
|
@ -17,4 +21,4 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build
|
||||
run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build
|
||||
|
|
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -2,6 +2,10 @@ name: Build
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
name: ${{ matrix.platform.name }}
|
||||
|
|
4
.github/workflows/msvc.yml
vendored
4
.github/workflows/msvc.yml
vendored
|
@ -2,6 +2,10 @@ name: Build (MSVC)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
name: ${{ matrix.platform.name }}
|
||||
|
|
4
.github/workflows/n3ds.yml
vendored
4
.github/workflows/n3ds.yml
vendored
|
@ -2,6 +2,10 @@ name: Build (Nintendo 3DS)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
n3ds:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
4
.github/workflows/ps2.yaml
vendored
4
.github/workflows/ps2.yaml
vendored
|
@ -2,6 +2,10 @@ name: Build (Sony Playstation 2)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ps2:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
4
.github/workflows/psp.yaml
vendored
4
.github/workflows/psp.yaml
vendored
|
@ -2,6 +2,10 @@ name: Build (Sony Playstation Portable)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
psp:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
4
.github/workflows/riscos.yml
vendored
4
.github/workflows/riscos.yml
vendored
|
@ -2,6 +2,10 @@ name: Build (RISC OS)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
name: ${{ matrix.platform.name }}
|
||||
|
|
4
.github/workflows/vita.yaml
vendored
4
.github/workflows/vita.yaml
vendored
|
@ -2,6 +2,10 @@ name: Build (Sony Playstation Vita)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: sh
|
||||
|
|
4
.github/workflows/vmactions.yml
vendored
4
.github/workflows/vmactions.yml
vendored
|
@ -2,6 +2,10 @@ name: Build (VM Actions)
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
freebsd:
|
||||
runs-on: macos-12
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue