Skip to content

Commit

Permalink
ci(precheck): experimental tapeout job
Browse files Browse the repository at this point in the history
generates the final .oas and publishes it as an artifact
  • Loading branch information
urish committed Nov 5, 2024
1 parent b9aeeba commit 019d376
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion .github/workflows/precheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: mpw_precheck
on:
workflow_dispatch:
workflow_run:
workflows: ["gds"]
workflows: ['gds']
types: [completed]

jobs:
Expand Down Expand Up @@ -71,3 +71,46 @@ jobs:
with:
name: precheck_results
path: tinytapeout-submission/precheck_results

mpw_tapeout_checks:
env:
PYTHONIOENCODING: utf-8
PDK_ROOT: /home/runner/pdk

runs-on: ubuntu-24.04
steps:
- name: checkout repo
uses: actions/checkout@v4
with:
submodules: recursive

- name: Checkout Caravel
uses: actions/checkout@v4
with:
repository: efabless/caravel
path: caravel

- name: Download artifact (run id = ${{ github.event.workflow_run.id }})
uses: dawidd6/action-download-artifact@v3
id: download_artifact
with:
workflow: gds.yaml
run_id: ${{ github.event.workflow_run.id }}
workflow_conclusion: success
name: efabless_submission
path: tinytapeout-submission

- name: Create final .oas file
working-directory: caravel
run: |
cp ../tinytapeout-submission/gds/openframe_project_wrapper.gds gds
make openframe
make generate_fill USER_ID=1 PROJECT=caravel_openframe
make final USER_ID=1 PROJECT=caravel_openframe
- name: Publish final .oas file
uses: actions/upload-artifact@v4
if: always()
with:
name: final_oas
path: caravel/tapeout/outputs/oas/*

0 comments on commit 019d376

Please sign in to comment.