Files
chipyard/.github/actions/run-tests/action.yml
chick 4cbdd9bb26 - remove unused GA build-extra-tests/action.yml
- cleanup exports in CA
  - remove exports from build-extra-tests CA
  - put exports in build-extra-tests.sh
    - based it on $GITHUB_WORKSPACE
  - changed exports in run-tests CA to use $GITHUB_WORKSPACE
- in common.mk
  - removed TODO comment lines where `$(sim)` had been removed
  - removed commented out lines that used `$(sim)`
- removed unused debugging script1.sh
2021-10-06 11:57:58 -07:00

24 lines
632 B
YAML

name: run-tests
description: 'Runs tests according to input parameters'
inputs:
project-key:
description: project key
required: true
run-script:
description: rtl build script to use
required: false
default: "run-tests.sh"
runs:
using: "composite"
steps:
- name: run rtl build script cache of chipyard root should have been loaded by prepare-rtl
run: |
export RISCV="$GITHUB_WORKSPACE/riscv-tools-install"
export LD_LIBRARY_PATH="$RISCV/lib"
export PATH="$RISCV/bin:$PATH"
./.github/scripts/${{ inputs.run-script }} ${{ inputs.project-key }}
shell: bash