Skip to content

Commit

Permalink
fix all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
chetanyagoyal committed Oct 4, 2024
1 parent 5d51fef commit f923d97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/glayout_opamp_sim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
bash -c "\
cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/tapeout/tapeout_and_RL/. &&\
pip3 uninstall glayout -y &&\
pip3 install -r ./openfasoc/generators/glayout/requirements.txt &&\
cd ./openfasoc/generators/glayout/tapeout/tapeout_and_RL/ &&\
pip3 install prettyprint prettyprinttree gdstk &&\
pip3 install --force-reinstall -v -r requirements.txt
pip3 install -r requirements.txt &&\
pip3 install --force-reinstall -r ./../../requirements.txt &&\
python3 test_glayout_ci.py --component opamp_parametric
" && exit_code=$? | tee -a glayout.log
if [ $? -ne 0 ]; then exit 1; fi
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/glayout_sky130.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\
cd ./openfasoc/generators/glayout &&\
pip3 install --force-reinstall -r requirements.txt &&\
pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\
python3 test_glayout_ci.py --component opamp
" && exit_code=$? | tee -a glayout.log
if [ $? -ne 0 ]; then exit 1; fi
Expand All @@ -63,7 +62,6 @@ jobs:
cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\
cd ./openfasoc/generators/glayout &&\
pip3 install --force-reinstall -r requirements.txt &&\
pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\
python3 test_glayout_ci.py --component pmos
" && exit_code=$? | tee -a glayout.log
if [ $? -ne 0 ]; then exit 1; fi
Expand All @@ -80,11 +78,10 @@ jobs:
-w $PWD \
$IMAGE_NAME \
bash -c "\
pip uninstall glayout -y &&\
pip3 uninstall glayout -y &&\
cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\
cd ./openfasoc/generators/glayout &&\
pip3 install --force-reinstall -r requirements.txt &&\
pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\
python3 test_glayout_ci.py --component nmos
" && exit_code=$? | tee -a glayout.log
if [ $? -ne 0 ]; then exit 1; fi
Expand All @@ -105,7 +102,6 @@ jobs:
cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\
cd ./openfasoc/generators/glayout &&\
pip3 install --force-reinstall -r requirements.txt &&\
pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\
python3 test_glayout_ci.py --component diff_pair
" && exit_code=$? | tee -a glayout.log
if [ $? -ne 0 ]; then exit 1; fi
Expand All @@ -126,7 +122,6 @@ jobs:
cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\
cd ./openfasoc/generators/glayout &&\
pip3 install --force-reinstall -r requirements.txt &&\
pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\
python3 test_glayout_ci.py --component current_mirror
" && exit_code=$? | tee -a glayout.log
if [ $? -ne 0 ]; then exit 1; fi
Expand Down
7 changes: 4 additions & 3 deletions openfasoc/generators/glayout/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
gdsfactory==7.7.0
numpy==1.23.5
prettyprint
prettyprinttree
nltk
torch
transformers
Expand All @@ -23,3 +20,7 @@ optimum
trl
langchain_huggingface
tensorboard
gdsfactory==7.7.0
prettyprint
prettyprinttree
gdstk

0 comments on commit f923d97

Please sign in to comment.