-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kareem Farid <[email protected]>
- Loading branch information
1 parent
e1dc45d
commit 725c948
Showing
2 changed files
with
43 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: 'Install PDK' | ||
description: 'Install PDK using volare. Uses github actions cache' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set Env Variables | ||
shell: bash | ||
run: | | ||
echo "PDK_ROOT=$HOME/.volare" >> $GITHUB_OUTPUT | ||
echo "OPEN_PDKS_COMMIT=bdc9412b3e468c102d01b7cf6337be06ec6e9c9a" >> $GITHUB_OUTPUT | ||
- name: Cache PDK | ||
shell: bash | ||
id: cache-pdk | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: ${{env.PDK_ROOT}} | ||
key: pdk-${{env.OPEN_PDKS_COMMIT}} | ||
enableCrossOsArchive: "true" | ||
- name: Download PDK | ||
shell: bash | ||
if: ${{ steps.cache-pdk.outputs.cache-hit != 'true' }} | ||
run: | | ||
mkdir -p ${{ env.PDK_ROOT }} | ||
pip install volare | ||
volare enable ${{ env.OPEN_PDKS_COMMIT }} | ||
- name: Save PDK Cache | ||
shell: bash | ||
if: ${{ steps.cache-pdk.outputs.cache-hit != 'true' }} | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: ${{env.PDK_ROOT}} | ||
key: pdk-${{env.OPEN_PDKS_COMMIT}} |
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