[ci] Add group/key/tests for vortex and coalescer; slim down gpu ci
This commit is contained in:
4
.github/scripts/defaults.sh
vendored
4
.github/scripts/defaults.sh
vendored
@@ -32,6 +32,7 @@ grouping["group-cores"]="chipyard-cva6 chipyard-ibex chipyard-rocket chipyard-he
|
|||||||
grouping["group-peripherals"]="chipyard-dmirocket chipyard-dmiboom chipyard-spiflashwrite chipyard-mmios chipyard-nocores chipyard-manyperipherals chipyard-chiplike chipyard-tethered"
|
grouping["group-peripherals"]="chipyard-dmirocket chipyard-dmiboom chipyard-spiflashwrite chipyard-mmios chipyard-nocores chipyard-manyperipherals chipyard-chiplike chipyard-tethered"
|
||||||
grouping["group-accels"]="chipyard-mempress chipyard-sha3 chipyard-hwacha chipyard-gemmini chipyard-manymmioaccels chipyard-nvdla"
|
grouping["group-accels"]="chipyard-mempress chipyard-sha3 chipyard-hwacha chipyard-gemmini chipyard-manymmioaccels chipyard-nvdla"
|
||||||
grouping["group-constellation"]="chipyard-constellation"
|
grouping["group-constellation"]="chipyard-constellation"
|
||||||
|
grouping["group-gpu"]="chipyard-vortex chipyard-coalescer coalescer"
|
||||||
grouping["group-tracegen"]="tracegen tracegen-boom"
|
grouping["group-tracegen"]="tracegen tracegen-boom"
|
||||||
grouping["group-other"]="icenet testchipip constellation rocketchip-amba rocketchip-tlsimple rocketchip-tlwidth rocketchip-tlxbar"
|
grouping["group-other"]="icenet testchipip constellation rocketchip-amba rocketchip-tlsimple rocketchip-tlwidth rocketchip-tlxbar"
|
||||||
grouping["group-fpga"]="arty vcu118 vc707 arty100t"
|
grouping["group-fpga"]="arty vcu118 vc707 arty100t"
|
||||||
@@ -67,8 +68,11 @@ mapping["chipyard-shuttle"]=" CONFIG=ShuttleConfig"
|
|||||||
mapping["chipyard-multiclock-rocket"]=" CONFIG=MulticlockRocketConfig"
|
mapping["chipyard-multiclock-rocket"]=" CONFIG=MulticlockRocketConfig"
|
||||||
mapping["chipyard-nomem-scratchpad"]=" CONFIG=MMIOScratchpadOnlyRocketConfig"
|
mapping["chipyard-nomem-scratchpad"]=" CONFIG=MMIOScratchpadOnlyRocketConfig"
|
||||||
mapping["chipyard-constellation"]=" CONFIG=SharedNoCConfig"
|
mapping["chipyard-constellation"]=" CONFIG=SharedNoCConfig"
|
||||||
|
mapping["chipyard-vortex"]=" CONFIG=RadianceROMConfig"
|
||||||
|
mapping["chipyard-coalescer"]=" CONFIG=MemtraceCoreConfig"
|
||||||
|
|
||||||
mapping["constellation"]=" SUB_PROJECT=constellation"
|
mapping["constellation"]=" SUB_PROJECT=constellation"
|
||||||
|
mapping["coalescer"]=" SUB_PROJECT=coalescer"
|
||||||
mapping["firesim"]="SCALA_TEST=firesim.firesim.RocketNICF1Tests"
|
mapping["firesim"]="SCALA_TEST=firesim.firesim.RocketNICF1Tests"
|
||||||
mapping["fireboom"]="SCALA_TEST=firesim.firesim.BoomF1Tests"
|
mapping["fireboom"]="SCALA_TEST=firesim.firesim.BoomF1Tests"
|
||||||
mapping["icenet"]="SUB_PROJECT=icenet"
|
mapping["icenet"]="SUB_PROJECT=icenet"
|
||||||
|
|||||||
10
.github/scripts/run-tests.sh
vendored
10
.github/scripts/run-tests.sh
vendored
@@ -137,6 +137,13 @@ case $1 in
|
|||||||
chipyard-constellation)
|
chipyard-constellation)
|
||||||
run_binary LOADMEM=1 BINARY=$RISCV/riscv64-unknown-elf/share/riscv-tests/benchmarks/dhrystone.riscv
|
run_binary LOADMEM=1 BINARY=$RISCV/riscv64-unknown-elf/share/riscv-tests/benchmarks/dhrystone.riscv
|
||||||
;;
|
;;
|
||||||
|
chipyard-vortex)
|
||||||
|
# FIXME fix args.bin
|
||||||
|
run_binary BINARY=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecadd.elf
|
||||||
|
;;
|
||||||
|
chipyard-coalescer)
|
||||||
|
run_binary BINARY=none
|
||||||
|
;;
|
||||||
icenet)
|
icenet)
|
||||||
run_binary BINARY=none
|
run_binary BINARY=none
|
||||||
;;
|
;;
|
||||||
@@ -146,6 +153,9 @@ case $1 in
|
|||||||
constellation)
|
constellation)
|
||||||
run_binary BINARY=none
|
run_binary BINARY=none
|
||||||
;;
|
;;
|
||||||
|
coalescer)
|
||||||
|
run_binary BINARY=none
|
||||||
|
;;
|
||||||
rocketchip-amba)
|
rocketchip-amba)
|
||||||
run_binary BINARY=none
|
run_binary BINARY=none
|
||||||
;;
|
;;
|
||||||
|
|||||||
307
.github/workflows/chipyard-run-tests-gpu.yml
vendored
307
.github/workflows/chipyard-run-tests-gpu.yml
vendored
@@ -236,52 +236,6 @@ jobs:
|
|||||||
group-key: "group-cores"
|
group-key: "group-cores"
|
||||||
project-key: "chipyard-rocket"
|
project-key: "chipyard-rocket"
|
||||||
|
|
||||||
chipyard-prefetchers-run-tests:
|
|
||||||
name: chipyard-prefetchers-run-tests
|
|
||||||
needs: prepare-chipyard-cores
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-cores"
|
|
||||||
project-key: "chipyard-prefetchers"
|
|
||||||
|
|
||||||
chipyard-hetero-run-tests:
|
|
||||||
name: chipyard-hetero-run-tests
|
|
||||||
needs: prepare-chipyard-cores
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-cores"
|
|
||||||
project-key: "chipyard-hetero"
|
|
||||||
|
|
||||||
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
|
||||||
@@ -305,8 +259,8 @@ jobs:
|
|||||||
group-key: "group-cores"
|
group-key: "group-cores"
|
||||||
project-key: "chipyard-boom"
|
project-key: "chipyard-boom"
|
||||||
|
|
||||||
chipyard-shuttle-run-tests:
|
chipyard-vortex-run-tests:
|
||||||
name: chipyard-shuttle-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:
|
||||||
@@ -325,11 +279,11 @@ jobs:
|
|||||||
- 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-gpu"
|
||||||
project-key: "chipyard-shuttle"
|
project-key: "chipyard-vortex"
|
||||||
|
|
||||||
chipyard-cva6-run-tests:
|
coalescer-run-tests:
|
||||||
name: chipyard-cva6-run-tests
|
name: coalescer-run-tests
|
||||||
needs: prepare-chipyard-cores
|
needs: prepare-chipyard-cores
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
@@ -348,54 +302,8 @@ jobs:
|
|||||||
- 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-gpu"
|
||||||
project-key: "chipyard-cva6"
|
project-key: "coalescer"
|
||||||
|
|
||||||
chipyard-ibex-run-tests:
|
|
||||||
name: chipyard-ibex-run-tests
|
|
||||||
needs: prepare-chipyard-cores
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-cores"
|
|
||||||
project-key: "chipyard-ibex"
|
|
||||||
|
|
||||||
chipyard-sodor-run-tests:
|
|
||||||
name: chipyard-sodor-run-tests
|
|
||||||
needs: prepare-chipyard-cores
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-cores"
|
|
||||||
project-key: "chipyard-sodor"
|
|
||||||
|
|
||||||
chipyard-spike-run-tests:
|
chipyard-spike-run-tests:
|
||||||
name: chipyard-spike-run-tests
|
name: chipyard-spike-run-tests
|
||||||
@@ -420,74 +328,28 @@ jobs:
|
|||||||
group-key: "group-cores"
|
group-key: "group-cores"
|
||||||
project-key: "chipyard-spike"
|
project-key: "chipyard-spike"
|
||||||
|
|
||||||
chipyard-sha3-run-tests:
|
# chipyard-gemmini-run-tests:
|
||||||
name: chipyard-sha3-run-tests
|
# name: chipyard-gemmini-run-tests
|
||||||
needs: prepare-chipyard-accels
|
# needs: prepare-chipyard-accels
|
||||||
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-accels"
|
# group-key: "group-accels"
|
||||||
project-key: "chipyard-sha3"
|
# project-key: "chipyard-gemmini"
|
||||||
|
|
||||||
chipyard-gemmini-run-tests:
|
|
||||||
name: chipyard-gemmini-run-tests
|
|
||||||
needs: prepare-chipyard-accels
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-accels"
|
|
||||||
project-key: "chipyard-gemmini"
|
|
||||||
|
|
||||||
chipyard-manymmioaccels-run-tests:
|
|
||||||
name: chipyard-manymmioaccels-run-tests
|
|
||||||
needs: prepare-chipyard-accels
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-accels"
|
|
||||||
project-key: "chipyard-manymmioaccels"
|
|
||||||
|
|
||||||
# chipyard-nvdla-run-tests:
|
# chipyard-nvdla-run-tests:
|
||||||
# name: chipyard-nvdla-run-tests
|
# name: chipyard-nvdla-run-tests
|
||||||
@@ -512,99 +374,6 @@ jobs:
|
|||||||
# group-key: "group-accels"
|
# group-key: "group-accels"
|
||||||
# project-key: "chipyard-nvdla"
|
# project-key: "chipyard-nvdla"
|
||||||
|
|
||||||
chipyard-mempress-run-tests:
|
|
||||||
name: chipyard-mempress-run-tests
|
|
||||||
needs: prepare-chipyard-accels
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-accels"
|
|
||||||
project-key: "chipyard-mempress"
|
|
||||||
|
|
||||||
|
|
||||||
tracegen-boom-run-tests:
|
|
||||||
name: tracegen-boom-run-tests
|
|
||||||
needs: prepare-chipyard-tracegen
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-tracegen"
|
|
||||||
project-key: "tracegen-boom"
|
|
||||||
|
|
||||||
tracegen-run-tests:
|
|
||||||
name: tracegen-run-tests
|
|
||||||
needs: prepare-chipyard-tracegen
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-tracegen"
|
|
||||||
project-key: "tracegen"
|
|
||||||
|
|
||||||
icenet-run-tests:
|
|
||||||
name: icenet-run-tests
|
|
||||||
needs: prepare-chipyard-other
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-other"
|
|
||||||
project-key: "icenet"
|
|
||||||
|
|
||||||
testchipip-run-tests:
|
testchipip-run-tests:
|
||||||
name: testchipip-run-tests
|
name: testchipip-run-tests
|
||||||
needs: prepare-chipyard-other
|
needs: prepare-chipyard-other
|
||||||
@@ -674,20 +443,10 @@ jobs:
|
|||||||
all_tests_passed:
|
all_tests_passed:
|
||||||
name: "all tests passed"
|
name: "all tests passed"
|
||||||
needs: [chipyard-rocket-run-tests,
|
needs: [chipyard-rocket-run-tests,
|
||||||
chipyard-hetero-run-tests,
|
|
||||||
chipyard-boom-run-tests,
|
chipyard-boom-run-tests,
|
||||||
chipyard-shuttle-run-tests,
|
chipyard-vortex-run-tests,
|
||||||
chipyard-cva6-run-tests,
|
coalescer-run-tests,
|
||||||
chipyard-ibex-run-tests,
|
# chipyard-gemmini-run-tests,
|
||||||
chipyard-sodor-run-tests,
|
|
||||||
chipyard-sha3-run-tests,
|
|
||||||
chipyard-gemmini-run-tests,
|
|
||||||
chipyard-manymmioaccels-run-tests, # chipyard-nvdla-run-tests,
|
|
||||||
chipyard-prefetchers-run-tests,
|
|
||||||
chipyard-mempress-run-tests,
|
|
||||||
tracegen-boom-run-tests,
|
|
||||||
tracegen-run-tests,
|
|
||||||
icenet-run-tests,
|
|
||||||
testchipip-run-tests,
|
testchipip-run-tests,
|
||||||
rocketchip-run-tests,
|
rocketchip-run-tests,
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user