Merge pull request #439 from lnis-uofu/ci_cancel_previous

Now CI tests will cancel previous runs
This commit is contained in:
tangxifan 2021-12-14 10:18:22 -08:00 committed by GitHub
commit ccaf1fdcad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -30,6 +30,11 @@ jobs:
sha_short: ${{ steps.changes.outputs.sha_short }}
docker_repo: ${{ steps.changes.outputs.docker_repo }}
steps:
- name: Cancel previous
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
with:
@ -100,6 +105,11 @@ jobs:
CCACHE_LOGFILE: ccache_log
CCACHE_DIR: /__w/OpenFPGA/.ccache
steps:
- name: Cancel previous
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
with:
@ -179,6 +189,11 @@ jobs:
runs-on: ubuntu-latest
needs: [linux_build, change_detect]
steps:
- name: Cancel previous
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
- name: Download a built artifacts
@ -224,6 +239,11 @@ jobs:
- name: vtr_benchmark_reg_test
- name: iwls_benchmark_reg_test
steps:
- name: Cancel previous
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
- name: Download a built artifacts
@ -272,6 +292,11 @@ jobs:
- name: vtr_benchmark_reg_test
- name: iwls_benchmark_reg_test
steps:
- name: Cancel previous
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
with: