Remove concurrent builds to prevent queue clogging

master
agibsonccc 2021-03-10 20:31:23 +09:00
parent 8f151bc7bb
commit e5386e488d
16 changed files with 192 additions and 2 deletions

View File

@ -4,7 +4,19 @@ on:
workflow_dispatch:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
android-x86_64:
needs: pre-ci
runs-on: ubuntu-16.04
steps:
- uses: AutoModality/action-clean@v1

View File

@ -4,8 +4,20 @@ on:
workflow_dispatch:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
android-arm32:
needs: pre-ci
runs-on: ubuntu-16.04
steps:
- uses: AutoModality/action-clean@v1

View File

@ -4,8 +4,20 @@ on:
workflow_dispatch:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
android-arm64:
needs: pre-ci
runs-on: ubuntu-16.04
steps:
- uses: AutoModality/action-clean@v1

View File

@ -4,8 +4,20 @@ on:
workflow_dispatch:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
linux-arm32:
needs: pre-ci
runs-on: ubuntu-16.04
steps:
- uses: AutoModality/action-clean@v1

View File

@ -4,8 +4,20 @@ on:
workflow_dispatch:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
linux-arm64:
needs: pre-ci
runs-on: ubuntu-16.04
steps:
- uses: AutoModality/action-clean@v1

View File

@ -4,8 +4,19 @@ on:
workflow_dispatch:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
linux-x86_64-cuda_11-0:
needs: pre-ci
runs-on: ubuntu-16.04
steps:
- name: Cancel Previous Runs

View File

@ -4,7 +4,19 @@ on:
workflow_dispatch:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
linux-x86_64-cuda-11-2:
needs: pre-ci
runs-on: ubuntu-16.04
steps:
- name: Cancel Previous Runs

View File

@ -4,8 +4,20 @@ on:
workflow_dispatch:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
linux-x86_64:
needs: pre-ci
runs-on: ubuntu-16.04
steps:
- name: Cancel Previous Runs

View File

@ -3,7 +3,19 @@ on:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
mac-x86_64:
needs: pre-ci
runs-on: macos-10.15
steps:
- name: Cancel Previous Runs

View File

@ -3,7 +3,19 @@ on:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
windows-x86_64-cuda-11-0:
needs: pre-ci
runs-on: windows-2019
steps:
- name: Cancel Previous Runs

View File

@ -3,7 +3,19 @@ on:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
windows-x86_64-cuda-11-2:
needs: pre-ci
runs-on: windows-2019
steps:
- name: Cancel Previous Runs

View File

@ -3,8 +3,19 @@ on:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
windows-x86_64:
needs: pre-ci
runs-on: windows-2019
steps:
- name: Cancel Previous Runs

View File

@ -1,7 +1,19 @@
on:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
linux-x86_64:
needs: pre-ci
runs-on: ubuntu-18.04
steps:
- name: Cancel Previous Runs

View File

@ -1,7 +1,19 @@
on:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
linux-x86_64:
needs: pre-ci
runs-on: ubuntu-18.04
steps:
- name: Cancel Previous Runs

View File

@ -2,7 +2,19 @@ on:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
linux-x86_64-cuda-11-2:
needs: pre-ci
runs-on: [self-hosted]
steps:
- uses: AutoModality/action-clean@v1

View File

@ -1,7 +1,19 @@
on:
push:
jobs:
# Wait for up to a minute for previous run to complete, abort if not done by then
pre-ci:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build_and_test_cross_platform:
needs: pre-ci
# The host should always be linux
runs-on: ubuntu-16.04
name: Build on ${{ matrix.distro }} ${{ matrix.arch }}