Fix docs PDF build #16
This file contains hidden or 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: gds | |
| on: | |
| workflow_dispatch: | |
| push: | |
| jobs: | |
| gds: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Read top module name | |
| uses: mikefarah/yq@v4 | |
| id: top_module | |
| with: | |
| cmd: echo TOP_MODULE=`yq '.project.top_module' info.yaml` > $GITHUB_OUTPUT | |
| - name: Create and publish the GDS artifact | |
| uses: TinyTapeout/tt-gds-action/custom_gds@tt08 | |
| with: | |
| top_module: ${{ steps.top_module.outputs.TOP_MODULE }} | |
| gds_path: gds/${{ steps.top_module.outputs.TOP_MODULE }}.gds | |
| lef_path: lef/${{ steps.top_module.outputs.TOP_MODULE }}.lef | |
| verilog_path: src/project.v | |
| precheck: | |
| needs: gds | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Run Tiny Tapeout Precheck | |
| uses: TinyTapeout/tt-gds-action/precheck@tt08 | |
| viewer: | |
| needs: gds | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pages: write # to deploy to Pages | |
| id-token: write # to verify the deployment originates from an appropriate source | |
| steps: | |
| - uses: TinyTapeout/tt-gds-action/viewer@tt08 |