add ssh keys to worker to access lab-bc

This commit is contained in:
Fischer Moseley 2023-02-06 11:44:20 -05:00
parent 27e8fec597
commit 70078a736b
1 changed files with 12 additions and 2 deletions

View File

@ -8,7 +8,17 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: python3 manta.py gen examples/counter/ila.yaml examples/counter/src/debug.sv
- name: build
- name: Add SSH Keys
run: |
touch ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "${{ secrets.LAB_BC_PRIVATE_KEY }}" > ~/.ssh/id_rsa
echo "${{ secrets.LAB_BC_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
- name: Generate Core
run: python3 manta.py gen examples/counter/ila.yaml examples/counter/src/debug.sv
- name: Build Verilog
working-directory: examples/counter
run: mkdir obj && python3 lab-bc.py