Fix run-tests to use prep-rtl action + Fix Gemmini software build
This commit is contained in:
7
.github/actions/run-tests/action.yml
vendored
7
.github/actions/run-tests/action.yml
vendored
@@ -24,14 +24,9 @@ runs:
|
||||
run: ./scripts/init-submodules-no-riscv-tools.sh
|
||||
shell: bash
|
||||
|
||||
- name: Build toolchain
|
||||
uses: ./.github/actions/toolchain-build
|
||||
with:
|
||||
tools-version: ${{ inputs.tools-version }}
|
||||
|
||||
# Note: You shouldn't need the other inputs since it shouldn't build RTL from scratch
|
||||
- name: Build RTL
|
||||
uses: ./.github/actions/toolchain-build
|
||||
uses: ./.github/actions/prepare-rtl
|
||||
with:
|
||||
tools-version: ${{ inputs.tools-version }}
|
||||
group-key: ${{ inputs.group-key }}
|
||||
|
||||
2
.github/actions/toolchain-build/action.yml
vendored
2
.github/actions/toolchain-build/action.yml
vendored
@@ -1,5 +1,5 @@
|
||||
name: toolchain-build
|
||||
description: 'Builds or retrieves cache of the selected toolchain'
|
||||
description: 'Builds or retrieves cache of the all toolchains'
|
||||
|
||||
inputs:
|
||||
tools-version:
|
||||
|
||||
7
.github/scripts/remote-do-rtl-build.sh
vendored
7
.github/scripts/remote-do-rtl-build.sh
vendored
@@ -25,11 +25,12 @@ if [ $1 = "group-accels" ]; then
|
||||
export RISCV=$REMOTE_ESP_DIR
|
||||
export LD_LIBRARY_PATH=$REMOTE_ESP_DIR/lib
|
||||
export PATH=$RISCV/bin:$PATH
|
||||
GEMMINI_SOFTWARE_DIR=$REMOTE_CHIPYARD_DIR/generators/gemmini/software/gemmini-rocc-tests
|
||||
cd $GEMMINI_SOFTWARE_DIR
|
||||
pushd $REMOTE_CHIPYARD_DIR/generators/gemmini/software
|
||||
git submodule update --init --recursive gemmini-rocc-tests
|
||||
cd gemmini-rocc-tests
|
||||
pushd gemmini-rocc-tests
|
||||
./build.sh
|
||||
popd
|
||||
popd
|
||||
fi
|
||||
|
||||
# choose what make dir to use
|
||||
|
||||
Reference in New Issue
Block a user