forked from idea-fasoc/OpenFASOC
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1.29 KB
/
verify_gen_gds.yml
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
name: Basic Installation, gds setup
on: [push, pull_request]
jobs:
Install-Dependencies_Data-Prep_CPU-Training_CPU-Inference:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "${{ github.repository }} repository has been cloned to the runner."
- run: echo "Currently on ${{ github.ref }} branch"
- name: ls of directory
run: |
ls ${{ github.workspace }}
# Caching pip dependencies
- name: Cache pip dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements_cpu.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
sudo source ./dependencies.sh
source ~/miniconda3/bin/activate
cd openfasoc/generators/gdsfactory-gen
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
- name: Run gen_opamp
run: |
ls
python3 sky130_nist_tapeout.py gen_opamp -output_gds test.gds
ls
- name: Run test
run: |
ls
python3 sky130_nist_tapeout.py test -output_dir test_output_dir
ls