Skip to content

Commit

Permalink
Add workflow for testing gds_generation
Browse files Browse the repository at this point in the history
  • Loading branch information
gkielian committed Nov 11, 2023
1 parent 3694b20 commit bab4b7b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/verify_gen_gds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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

0 comments on commit bab4b7b

Please sign in to comment.