[ci] Trim down gpu ci to the minimum
This commit is contained in:
346
.github/workflows/chipyard-run-tests-gpu.yml
vendored
346
.github/workflows/chipyard-run-tests-gpu.yml
vendored
@@ -94,27 +94,27 @@ jobs:
|
|||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
prepare-chipyard-cores:
|
# prepare-chipyard-cores:
|
||||||
name: prepare-chipyard-cores
|
# name: prepare-chipyard-cores
|
||||||
needs: setup-complete
|
# needs: setup-complete
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Build RTL on self-hosted
|
# - name: Build RTL on self-hosted
|
||||||
uses: ./.github/actions/prepare-rtl
|
# uses: ./.github/actions/prepare-rtl
|
||||||
with:
|
# with:
|
||||||
group-key: "group-cores"
|
# group-key: "group-cores"
|
||||||
|
|
||||||
prepare-chipyard-gpu:
|
prepare-chipyard-gpu:
|
||||||
name: prepare-chipyard-gpu
|
name: prepare-chipyard-gpu
|
||||||
@@ -162,27 +162,27 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# group-key: "group-accels"
|
# group-key: "group-accels"
|
||||||
|
|
||||||
prepare-chipyard-other:
|
# prepare-chipyard-other:
|
||||||
name: prepare-chipyard-other
|
# name: prepare-chipyard-other
|
||||||
needs: setup-complete
|
# needs: setup-complete
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Build RTL on self-hosted
|
# - name: Build RTL on self-hosted
|
||||||
uses: ./.github/actions/prepare-rtl
|
# uses: ./.github/actions/prepare-rtl
|
||||||
with:
|
# with:
|
||||||
group-key: "group-other"
|
# group-key: "group-other"
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
@@ -215,51 +215,51 @@ jobs:
|
|||||||
# conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
# conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
||||||
# cd ${{ github.workspace }}/generators/gemmini/software && ${{ github.workspace }}/software/firemarshal/marshal -v -d launch -s gemmini-smoke.json
|
# cd ${{ github.workspace }}/generators/gemmini/software && ${{ github.workspace }}/software/firemarshal/marshal -v -d launch -s gemmini-smoke.json
|
||||||
|
|
||||||
chipyard-rocket-run-tests:
|
# chipyard-rocket-run-tests:
|
||||||
name: chipyard-rocket-run-tests
|
# name: chipyard-rocket-run-tests
|
||||||
needs: prepare-chipyard-cores
|
# needs: prepare-chipyard-cores
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
# uses: ./.github/actions/run-tests
|
||||||
with:
|
# with:
|
||||||
group-key: "group-cores"
|
# group-key: "group-cores"
|
||||||
project-key: "chipyard-rocket"
|
# project-key: "chipyard-rocket"
|
||||||
|
|
||||||
chipyard-boom-run-tests:
|
# chipyard-boom-run-tests:
|
||||||
name: chipyard-boom-run-tests
|
# name: chipyard-boom-run-tests
|
||||||
needs: prepare-chipyard-cores
|
# needs: prepare-chipyard-cores
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
# uses: ./.github/actions/run-tests
|
||||||
with:
|
# with:
|
||||||
group-key: "group-cores"
|
# group-key: "group-cores"
|
||||||
project-key: "chipyard-boom"
|
# project-key: "chipyard-boom"
|
||||||
|
|
||||||
chipyard-vortex-run-tests:
|
chipyard-vortex-run-tests:
|
||||||
name: chipyard-vortex-run-tests
|
name: chipyard-vortex-run-tests
|
||||||
@@ -330,28 +330,28 @@ jobs:
|
|||||||
group-key: "group-gpu"
|
group-key: "group-gpu"
|
||||||
project-key: "coalescer"
|
project-key: "coalescer"
|
||||||
|
|
||||||
chipyard-spike-run-tests:
|
# chipyard-spike-run-tests:
|
||||||
name: chipyard-spike-run-tests
|
# name: chipyard-spike-run-tests
|
||||||
needs: prepare-chipyard-cores
|
# needs: prepare-chipyard-cores
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
# uses: ./.github/actions/run-tests
|
||||||
with:
|
# with:
|
||||||
group-key: "group-cores"
|
# group-key: "group-cores"
|
||||||
project-key: "chipyard-spike"
|
# project-key: "chipyard-spike"
|
||||||
|
|
||||||
# chipyard-gemmini-run-tests:
|
# chipyard-gemmini-run-tests:
|
||||||
# name: chipyard-gemmini-run-tests
|
# name: chipyard-gemmini-run-tests
|
||||||
@@ -399,67 +399,67 @@ jobs:
|
|||||||
# group-key: "group-accels"
|
# group-key: "group-accels"
|
||||||
# project-key: "chipyard-nvdla"
|
# project-key: "chipyard-nvdla"
|
||||||
|
|
||||||
testchipip-run-tests:
|
# testchipip-run-tests:
|
||||||
name: testchipip-run-tests
|
# name: testchipip-run-tests
|
||||||
needs: prepare-chipyard-other
|
# needs: prepare-chipyard-other
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
# uses: ./.github/actions/run-tests
|
||||||
with:
|
# with:
|
||||||
group-key: "group-other"
|
# group-key: "group-other"
|
||||||
project-key: "testchipip"
|
# project-key: "testchipip"
|
||||||
|
|
||||||
rocketchip-run-tests:
|
# rocketchip-run-tests:
|
||||||
name: rocketchip-run-tests
|
# name: rocketchip-run-tests
|
||||||
needs: prepare-chipyard-other
|
# needs: prepare-chipyard-other
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Run amba tests
|
# - name: Run amba tests
|
||||||
uses: ./.github/actions/run-tests
|
# uses: ./.github/actions/run-tests
|
||||||
with:
|
# with:
|
||||||
group-key: "group-other"
|
# group-key: "group-other"
|
||||||
project-key: "rocketchip-amba"
|
# project-key: "rocketchip-amba"
|
||||||
# Below tests segfault with verilator, work fine in VCS
|
# # Below tests segfault with verilator, work fine in VCS
|
||||||
# - name: Run tlsimple tests
|
# # - name: Run tlsimple tests
|
||||||
# uses: ./.github/actions/run-tests
|
# # uses: ./.github/actions/run-tests
|
||||||
# with:
|
# # with:
|
||||||
# group-key: "group-other"
|
# # group-key: "group-other"
|
||||||
# project-key: "rocketchip-tlsimple"
|
# # project-key: "rocketchip-tlsimple"
|
||||||
# - name: Run tlwidth tests
|
# # - name: Run tlwidth tests
|
||||||
# uses: ./.github/actions/run-tests
|
# # uses: ./.github/actions/run-tests
|
||||||
# with:
|
# # with:
|
||||||
# group-key: "group-other"
|
# # group-key: "group-other"
|
||||||
# project-key: "rocketchip-tlwidth"
|
# # project-key: "rocketchip-tlwidth"
|
||||||
# - name: Run tlxbar tests
|
# # - name: Run tlxbar tests
|
||||||
# uses: ./.github/actions/run-tests
|
# # uses: ./.github/actions/run-tests
|
||||||
# with:
|
# # with:
|
||||||
# group-key: "group-other"
|
# # group-key: "group-other"
|
||||||
# project-key: "rocketchip-tlxbar"
|
# # project-key: "rocketchip-tlxbar"
|
||||||
|
|
||||||
# Sentinel job to simplify how we specify which checks need to pass in branch
|
# Sentinel job to simplify how we specify which checks need to pass in branch
|
||||||
# protection and in Mergify
|
# protection and in Mergify
|
||||||
@@ -467,13 +467,15 @@ jobs:
|
|||||||
# When adding new top level jobs, please add them to `needs` below
|
# When adding new top level jobs, please add them to `needs` below
|
||||||
all_tests_passed:
|
all_tests_passed:
|
||||||
name: "all tests passed"
|
name: "all tests passed"
|
||||||
needs: [chipyard-rocket-run-tests,
|
needs: [
|
||||||
chipyard-boom-run-tests,
|
# chipyard-rocket-run-tests,
|
||||||
|
# chipyard-boom-run-tests,
|
||||||
chipyard-vortex-run-tests,
|
chipyard-vortex-run-tests,
|
||||||
|
chipyard-coalescer-run-tests,
|
||||||
coalescer-run-tests,
|
coalescer-run-tests,
|
||||||
# chipyard-gemmini-run-tests,
|
# chipyard-gemmini-run-tests,
|
||||||
testchipip-run-tests,
|
# testchipip-run-tests,
|
||||||
rocketchip-run-tests,
|
# rocketchip-run-tests,
|
||||||
]
|
]
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user