-
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.
Merge pull request #49 from siliconcompiler/llib-select
allow selecting lambdapdk
- Loading branch information
Showing
1 changed file
with
22 additions
and
9 deletions.
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 |
---|---|---|
|
@@ -5,6 +5,10 @@ on: | |
required: false | ||
type: string | ||
description: which siliconcompiler ref to use | ||
lambdapdk-ref: | ||
required: false | ||
type: string | ||
description: which lambdapdk ref to use | ||
|
||
name: 'All Designs' | ||
|
||
|
@@ -80,17 +84,14 @@ jobs: | |
if: always() && !failure() && !cancelled() | ||
container: | ||
image: ${{ needs.docker_image.outputs.sc_tool }} | ||
credentials: | ||
username: ${{ secrets.PACKAGES_ACTOR }} | ||
password: ${{ secrets.PACKAGES_TOKEN }} | ||
|
||
strategy: | ||
fail-fast: false | ||
max-parallel: 50 | ||
matrix: | ||
include: ${{ fromJson(needs.designs.outputs.designs) }} | ||
|
||
name: 'Run design' | ||
name: Run design | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
|
@@ -115,6 +116,19 @@ jobs: | |
run: | | ||
pip install ./sc | ||
- name: Get lambdapdk | ||
if: inputs.lambdapdk-ref != '' | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ inputs.lambdapdk-ref }} | ||
path: lambdapdk | ||
repository: siliconcompiler/lambdapdk | ||
|
||
- name: Install Lambdapdk | ||
if: inputs.lambdapdk-ref != '' | ||
run: | | ||
pip install -e ./lambdapdk | ||
- name: Run gallery | ||
timeout-minutes: 120 | ||
run: | | ||
|
@@ -144,15 +158,15 @@ jobs: | |
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: images-${{ env.ART_NAME }} | ||
name: ${{ env.ART_NAME }}-image | ||
path: gallery/*/*.png | ||
retention-days: 1 | ||
retention-days: 2 | ||
|
||
- name: Upload run artifacts | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: build-${{ env.ART_NAME }} | ||
name: ${{ env.ART_NAME }}-build | ||
path: gallery/*/*.tgz | ||
retention-days: 2 | ||
|
||
|
@@ -167,9 +181,8 @@ jobs: | |
uses: actions/upload-artifact/merge@v4 | ||
with: | ||
name: images | ||
pattern: images-* | ||
pattern: '*-image' | ||
delete-merged: true | ||
retention-days: 7 | ||
|
||
- name: Generate montage | ||
uses: convictional/[email protected] | ||
|