CACE workflow #2
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
name: cace | |
# Events that trigger workflow | |
on: | |
# Runs on all pushes to branches | |
push: | |
# Runs on all PRs | |
pull_request: | |
# Manual Dispatch | |
workflow_dispatch: | |
jobs: | |
run-cace: | |
runs-on: ubuntu-22.04 | |
name: Run CACE | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
# Run CACE on the design | |
- name: Setup Environment and Run CACE | |
uses: efabless/cace-action@main | |
with: | |
pdk_family: 'sky130' | |
cace_root: '.' | |
cace_datasheet: 'cace/fvf-chipathon-2024.yaml' | |
cace_source: 'rcx' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# Upload artifacts | |
- name: Upload Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: runs | |
path: | | |
${{ github.workspace }}/runs/ | |
# Add summary | |
- name: Add Markdown to Step Summary | |
if: success() || failure() | |
run: cat runs/*/summary.md >> $GITHUB_STEP_SUMMARY |