diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-06 17:31:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-06 17:31:57 -0800 |
| commit | a95b7530b782745d2778f3ea94c4ba9907991f78 (patch) | |
| tree | 87b59518b016e5dbc706e38cb5db137830a35daf /.github/workflows | |
| parent | 3358b3dd4680cc3f86bbd22b84c242c7f0053775 (diff) | |
CI: cancel onging jobs on commit. (#3557)
* CI: cancel onging jobs on commit.
* test change
* Fix.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/falcor-test.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/linux-arm64.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/linux.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/macos.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/windows.yml | 4 |
6 files changed, 19 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c5a863a3..a60a047f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,13 @@ -name: CI +name: CI (CMake) on: push: branches: [master] pull_request: branches: [master] - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: strategy: diff --git a/.github/workflows/falcor-test.yml b/.github/workflows/falcor-test.yml index e96a24f65..df2b1c2d5 100644 --- a/.github/workflows/falcor-test.yml +++ b/.github/workflows/falcor-test.yml @@ -7,7 +7,9 @@ on: branches: [ master ] pull_request: branches: [ master ] - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: runs-on: [Windows, self-hosted] diff --git a/.github/workflows/linux-arm64.yml b/.github/workflows/linux-arm64.yml index bc1991444..0c18ffe6b 100644 --- a/.github/workflows/linux-arm64.yml +++ b/.github/workflows/linux-arm64.yml @@ -5,7 +5,9 @@ on: branches: [ master ] pull_request: branches: [ master ] - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 435346837..427823f6b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -5,7 +5,9 @@ on: branches: [ master ] pull_request: branches: [ master ] - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index c795a06bd..11d54a247 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -5,7 +5,9 @@ on: branches: [ master ] pull_request: branches: [ master ] - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: name: MacOS Build CI diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9f48ccd0a..91843d4dd 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -7,7 +7,9 @@ on: branches: [ master ] pull_request: branches: [ master ] - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: runs-on: windows-latest |
