forked from idea-fasoc/OpenFASOC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow for testing gds_generation
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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 | ||