CI: coverage action parallelism

This commit is contained in:
Wilson Snyder 2020-12-09 21:10:34 -05:00
parent 26da90ffce
commit 28ee80c310
3 changed files with 13 additions and 10 deletions

View File

@ -1,4 +1,5 @@
# DESCRIPTION: Github actions config
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
name: coverage-build-action
description: "Common steps needed for coverage build jobs"

View File

@ -1,5 +1,6 @@
# DESCRIPTION: Github actions config
# This name is key to badges in README.adoc, so we use the name build
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
name: build

View File

@ -1,4 +1,5 @@
# DESCRIPTION: Github actions config
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
name: coverage
@ -23,14 +24,14 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
test-dist:
needs: buildjob
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
- run: bash TESTS=coverage-dist ci/ci-script.bash
test-vlt-0:
@ -38,7 +39,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
- run: bash TESTS=coverage-vlt-0 ci/ci-script.bash
test-vlt-1:
@ -46,7 +47,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
- run: bash TESTS=coverage-vlt-1 ci/ci-script.bash
test-vlt-2:
@ -54,7 +55,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
- run: bash TESTS=coverage-vlt-2 ci/ci-script.bash
test-vlt-3:
@ -62,7 +63,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
- run: bash TESTS=coverage-vlt-3 ci/ci-script.bash
test-vltmt-0:
@ -70,7 +71,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
- run: bash TESTS=coverage-vltmt-0 ci/ci-script.bash
test-vltmt-1:
@ -78,7 +79,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
- run: bash TESTS=coverage-vltmt-1 ci/ci-script.bash
test-vltmt-2:
@ -86,7 +87,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
- run: bash TESTS=coverage-vltmt-2 ci/ci-script.bash
test-vltmt-3:
@ -94,5 +95,5 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: verilator/verilator/.github/actions/coverage-build@master
- uses: ./.github/actions/coverage-build
- run: bash TESTS=coverage-vltmt-3 ci/ci-script.bash