-
Notifications
You must be signed in to change notification settings - Fork 666
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ssh-agent with secret key to access saturn
- Loading branch information
Showing
3 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,9 @@ runs: | |
sims/firesim/sim | ||
generators/gemmini/software/gemmini-rocc-tests | ||
key: ${{ inputs.group-key }}-${{ github.sha }} | ||
|
||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SATURN_SECRET }} | ||
- name: Run RTL build if not cached | ||
run: | | ||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-${{ inputs.toolchain }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,9 @@ jobs: | |
- name: Setup repo copy | ||
run: | | ||
git clone $GITHUB_WORKSPACE ${{ env.REMOTE_WORK_DIR }} | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SATURN_SECRET }} | ||
- name: Setup repo | ||
run: | | ||
cd ${{ env.REMOTE_WORK_DIR }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,8 +115,13 @@ jobs: | |
- name: Create conda env | ||
uses: ./.github/actions/create-conda-env | ||
- name: Check commits of each submodule | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SATURN_SECRET }} | ||
run: | | ||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools | ||
eval 'ssh-agent -s' | ||
ssh-add - <<< "${{ secrets.SATURN_SECRET }}" | ||
.github/scripts/check-commit.sh | ||
documentation-check: | ||
|