Files
chipyard/.github/actions/run-tests/action.yml
chick f3f4b19fde Per changes requested
- build-extra-tests composite-action comment changed to Builds extra test required for FireSim tests
- removed unneeded inputs tools-version and group-key from run-tests composite action
- Added better comment to toolchain-build composite action
- Change CI_MAKE_NPROC back to 8 in defaults.sh
- Moved all the duplicated enviroment setting stuff in workflow file to the top
  - BUILDSERVER, BUILDUSER, CI_DIR, SERVER, and JVM_OPTS
- Romoved all the not needed passed parameters in the calls to run-script
- A bit of cleanup to .github/README.md
  - added link to SO `if` hack
  - cleaned up comments on CI_DIR
  - removed bad empty final bullet line
2021-10-04 13:18:02 -07:00

24 lines
637 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="/__w/chipyard/chipyard/riscv-tools-install"
export LD_LIBRARY_PATH="$RISCV/lib"
export PATH="$RISCV/bin:$PATH"
./.github/scripts/${{ inputs.run-script }} ${{ inputs.project-key }}
shell: bash