diff options
| author | ruki <[email protected]> | 2021-08-20 22:32:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-08-20 22:32:28 +0800 |
| commit | bf6b82226abc277eaaf7d16fabfea48edb4d6cf7 (patch) | |
| tree | 5845e0d85aa36f78a29cde5480d8327f394c41c6 /.github | |
| parent | a14831de9504ce1d4987e5ce008a099abc8b3528 (diff) | |
improve ci
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/archlinux.yml | 3 | ||||
| -rw-r--r-- | .github/workflows/debian_mips64.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/fedora.yml | 3 | ||||
| -rw-r--r-- | .github/workflows/freebsd.yml | 3 | ||||
| -rw-r--r-- | .github/workflows/macos.yml | 3 | ||||
| -rw-r--r-- | .github/workflows/msys2_mingw.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/ubuntu_arm.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/ubuntu_arm64.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/windows.yml | 3 |
9 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/archlinux.yml b/.github/workflows/archlinux.yml index 2a9755fb2..d16473c5a 100644 --- a/.github/workflows/archlinux.yml +++ b/.github/workflows/archlinux.yml @@ -12,6 +12,9 @@ jobs: container: archlinux:latest runs-on: ubuntu-latest + concurrency: + group: ${{ github.head_ref }}-build + cancel-in-progress: true steps: - name: Prepare build tools run: | diff --git a/.github/workflows/debian_mips64.yml b/.github/workflows/debian_mips64.yml index 0ee576e1a..f31428370 100644 --- a/.github/workflows/debian_mips64.yml +++ b/.github/workflows/debian_mips64.yml @@ -9,6 +9,10 @@ on: jobs: build: runs-on: ubuntu-latest + + concurrency: + group: ${{ github.head_ref }}-build + cancel-in-progress: true steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index f25b4b7d2..874f8432c 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -12,6 +12,9 @@ jobs: container: fedora:latest runs-on: ubuntu-latest + concurrency: + group: ${{ github.head_ref }}-build + cancel-in-progress: true steps: - name: Prepare build tools run: | diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index a23a653e3..d45d2a2ad 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -11,6 +11,9 @@ jobs: runs-on: macos-latest + concurrency: + group: ${{ github.head_ref }}-build + cancel-in-progress: true steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 7358074bc..c6ed72491 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -11,6 +11,9 @@ jobs: runs-on: macos-latest + concurrency: + group: ${{ github.head_ref }}-build + cancel-in-progress: true steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/msys2_mingw.yml b/.github/workflows/msys2_mingw.yml index 3964d5c2f..3fa744ed1 100644 --- a/.github/workflows/msys2_mingw.yml +++ b/.github/workflows/msys2_mingw.yml @@ -7,6 +7,11 @@ on: jobs: build: runs-on: windows-latest + + concurrency: + group: ${{ github.head_ref }}-build + cancel-in-progress: true + strategy: fail-fast: false matrix: diff --git a/.github/workflows/ubuntu_arm.yml b/.github/workflows/ubuntu_arm.yml index e29aa3907..f6b2e08cd 100644 --- a/.github/workflows/ubuntu_arm.yml +++ b/.github/workflows/ubuntu_arm.yml @@ -9,6 +9,10 @@ on: jobs: build: runs-on: ubuntu-latest + + concurrency: + group: ${{ github.head_ref }}-build + cancel-in-progress: true steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/ubuntu_arm64.yml b/.github/workflows/ubuntu_arm64.yml index be7c7e169..730bb46b2 100644 --- a/.github/workflows/ubuntu_arm64.yml +++ b/.github/workflows/ubuntu_arm64.yml @@ -9,6 +9,10 @@ on: jobs: build: runs-on: ubuntu-latest + + concurrency: + group: ${{ github.head_ref }}-build + cancel-in-progress: true steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index fce3236a6..9606433d6 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -15,6 +15,9 @@ jobs: runs-on: ${{ matrix.os }} + concurrency: + group: ${{ github.head_ref }}-build + cancel-in-progress: true steps: - uses: actions/checkout@v2 with: |
