Spawn docker #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Chipyard Megaboom Benchmark | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
smoke-tests: | |
name: Smoke Test | |
runs-on: ubuntu-latest #FIXME: point to correct image | |
env: | |
DEBIAN_FRONTEND: "noninteractive" | |
steps: | |
- name: Smoke test | |
id: smoke_test | |
run: | | |
echo "Smoke test" | |
# pushd tests | |
# make -j`nproc` | |
# popd | |
binary-tests: | |
name: Binary test | |
runs-on: ubuntu-latest #FIXME: point to correct image | |
strategy: | |
fail-fast: false | |
matrix: | |
CONFIG: ["RocketConfig", "MegaBoomConfig"] | |
BINARY: ["../../tests/hello.riscv", "../../software/coremark/riscv-coremark/coremark.bare.riscv"] | |
env: | |
DEBIAN_FRONTEND: "noninteractive" | |
steps: | |
- name: Binary test | |
id: binary_test | |
run: | | |
echo "Binary test" | |
# source tools/bin/micromamba.rc | |
# cd chipyard | |
# source env.sh | |
# pushd sims/verilator | |
# make run-binary CONFIG=${CONFIG} BINARY=${BINARY} | |
# popd | |
coremark: | |
name: Coremark | |
runs-on: ubuntu-latest #FIXME: point to correct image | |
env: | |
DEBIAN_FRONTEND: "noninteractive" | |
steps: | |
- name: Coremark | |
run: | | |
echo "Coremark" | |
# git submodule update --init --recursive software/coremark | |
# pushd software/coremark | |
# cat build.sh | |
# ls -hal riscv-coremark/ | |
# cat riscv-coremark/build-coremark.sh | |
# ./build.sh | |
# popd | |
verilator_configs: | |
name: Verilator ChipConfig | |
runs-on: ubuntu-latest #FIXME: point to correct image | |
env: | |
DEBIAN_FRONTEND: "noninteractive" | |
strategy: | |
fail-fast: false | |
matrix: | |
CONFIG: ["RocketConfig", "MegaBoomConfig"] | |
steps: | |
- name: Verilator ${{ matrix.CONFIG }} | |
run: | | |
echo "Verilator config" | |
# cd chipyard | |
# source env.sh | |
# pushd sims/verilator | |
# make CONFIG=${{ matrix.CONFIG }} -j`nproc` | |
# popd |