generated from TinyTapeout/tt09-analog-template
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 1.16 KB
/
gds.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: gds
on:
push:
workflow_dispatch:
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@tt09
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@tt09
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@tt09