[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:
Hansung Kim
2023-10-17 11:41:04 -07:00
parent 3bd68911c3
commit e966b91cbe
3 changed files with 4 additions and 2 deletions

View File

@@ -20,6 +20,8 @@ runs:
- name: Init submodules to ensure stimuli is located
run: |
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
shell: bash -leo pipefail {0}

View File

@@ -139,7 +139,7 @@ case $1 in
;;
chipyard-vortex)
# 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)
run_binary BINARY=none

2
.gitmodules vendored
View File

@@ -135,4 +135,4 @@
url = https://github.com/ucb-bar/berkeley-hardfloat.git
[submodule "generators/rocket-gpu"]
path = generators/rocket-gpu
url = https://github.com/hansungk/rocket-gpu.git
url = git@github.com:hansungk/rocket-gpu.git