[ci] Add SSH key before init-submodules for access to rocket-gpu
Need to do the same for every init-submodule script run
This commit is contained in:
2
.github/actions/prepare-gpu/action.yml
vendored
2
.github/actions/prepare-gpu/action.yml
vendored
@@ -20,6 +20,8 @@ runs:
|
|||||||
- name: Init submodules to ensure stimuli is located
|
- name: Init submodules to ensure stimuli is located
|
||||||
run: |
|
run: |
|
||||||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-${{ inputs.toolchain }}
|
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-${{ inputs.toolchain }}
|
||||||
|
eval `ssh-agent -s`
|
||||||
|
ssh-add - <<< '${{ secrets.PRIVATE_SSH_KEY }}'
|
||||||
./scripts/init-submodules-no-riscv-tools.sh --force
|
./scripts/init-submodules-no-riscv-tools.sh --force
|
||||||
shell: bash -leo pipefail {0}
|
shell: bash -leo pipefail {0}
|
||||||
|
|
||||||
|
|||||||
2
.github/scripts/run-tests.sh
vendored
2
.github/scripts/run-tests.sh
vendored
@@ -139,7 +139,7 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
chipyard-vortex)
|
chipyard-vortex)
|
||||||
# FIXME fix args.bin
|
# FIXME fix args.bin
|
||||||
run_binary BINARY=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecadd.elf
|
run_binary BINARY=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecadd.bin.elf
|
||||||
;;
|
;;
|
||||||
chipyard-coalescer)
|
chipyard-coalescer)
|
||||||
run_binary BINARY=none
|
run_binary BINARY=none
|
||||||
|
|||||||
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -135,4 +135,4 @@
|
|||||||
url = https://github.com/ucb-bar/berkeley-hardfloat.git
|
url = https://github.com/ucb-bar/berkeley-hardfloat.git
|
||||||
[submodule "generators/rocket-gpu"]
|
[submodule "generators/rocket-gpu"]
|
||||||
path = generators/rocket-gpu
|
path = generators/rocket-gpu
|
||||||
url = https://github.com/hansungk/rocket-gpu.git
|
url = git@github.com:hansungk/rocket-gpu.git
|
||||||
|
|||||||
Reference in New Issue
Block a user