Skip to content

Commit

Permalink
Merge pull request #49 from siliconcompiler/llib-select
Browse files Browse the repository at this point in the history
allow selecting lambdapdk
  • Loading branch information
gadfort authored May 15, 2024
2 parents 7c86cf8 + ef66a94 commit f51494f
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions .github/workflows/designs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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:
Expand All @@ -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: |
Expand Down Expand Up @@ -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

Expand All @@ -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]
Expand Down

0 comments on commit f51494f

Please sign in to comment.