Skip to content

Commit a95b753

Browse files
authored
CI: cancel onging jobs on commit. (shader-slang#3557)
* CI: cancel onging jobs on commit. * test change * Fix.
1 parent 3358b3d commit a95b753

File tree

6 files changed

+19
-7
lines changed

6 files changed

+19
-7
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
name: CI
1+
name: CI (CMake)
22

33
on:
44
push:
55
branches: [master]
66
pull_request:
77
branches: [master]
8-
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
911
jobs:
1012
build:
1113
strategy:

.github/workflows/falcor-test.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77
branches: [ master ]
88
pull_request:
99
branches: [ master ]
10-
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
1113
jobs:
1214
build:
1315
runs-on: [Windows, self-hosted]

.github/workflows/linux-arm64.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
branches: [ master ]
66
pull_request:
77
branches: [ master ]
8-
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
911
jobs:
1012
build:
1113

.github/workflows/linux.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
branches: [ master ]
66
pull_request:
77
branches: [ master ]
8-
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
911
jobs:
1012
build:
1113

.github/workflows/macos.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
branches: [ master ]
66
pull_request:
77
branches: [ master ]
8-
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
911
jobs:
1012
build:
1113
name: MacOS Build CI

.github/workflows/windows.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77
branches: [ master ]
88
pull_request:
99
branches: [ master ]
10-
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
1113
jobs:
1214
build:
1315
runs-on: windows-latest

0 commit comments

Comments
 (0)