-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (38 loc) · 986 Bytes
/
run-design.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
45
46
47
48
name: Check Design Flow from RTL to GDS
on:
pull_request:
branches: [ main ]
paths:
- 'build.sbt'
- '.github/**'
- 'hardware/**'
- 'manifest.xml'
- 'podmnan-compose*yml'
- 'Taskfile.yml'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo snap install task --classic
sudo apt install virtualenv
- name: Prepare the project
run: |
task install branch=${{ github.head_ref || 'main' }}
- name: Prepare files
run: |
IS_HEADLESS=true task prepare
- name: Generate layout
run: |
IS_HEADLESS=true task layout
- name: Add metal fill
run: |
IS_HEADLESS=true task filler
- name: RUN maximal DRC
run: |
IS_HEADLESS=true task run-drc > drc.log
grep -v '0 error(s)' drc.log
grep 'Number of DRC errors: 0' drc.log