From 0f51b181e4b905cabbf9785ec9afd6de934c68c2 Mon Sep 17 00:00:00 2001 From: chetanyagoyal Date: Fri, 19 Apr 2024 20:16:38 +0000 Subject: [PATCH] feat: enable lvs --- .github/workflows/glayout.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/glayout.yml b/.github/workflows/glayout.yml index 8b8dee0f8..8ff0011fb 100644 --- a/.github/workflows/glayout.yml +++ b/.github/workflows/glayout.yml @@ -65,3 +65,22 @@ jobs: " && exit_code=$? | tee -a file_gf180.log if [ $? -ne 0 ]; then exit 1; fi if grep "\[ERROR\]" file_gf180.log; then exit 1; else exit 0; fi + - name: Test sky130 glayout LVS + env: + IMAGE_NAME: msaligane/openfasoc:stable + run: | + cd $GITHUB_WORKSPACE + touch file_sky130_lvs.log + docker run --rm \ + -v $PWD:$PWD\ + -w $PWD\ + $IMAGE_NAME\ + bash -c "\ + cp ./.github/scripts/run_glayout_lvs.py ./openfasoc/generators/gdsfactory-gen/lvs_flow. &&\ + pip3 install -r ./openfasoc/generators/gdsfactory-gen/glayout/requirements.txt &&\ + pip3 install gdsfactory==7.7.0 &&\ + cd ./openfasoc/generators/gdsfactory-gen/ &&\ + python3 run_glayout_lvs.py + " && exit_code=$? | tee -a file_sky130_lvs.log + if [ $? -ne 0 ]; then exit 1; fi + if grep "\[ERROR\]" file_sky130_lvs.log; then exit 1; else exit 0; fi \ No newline at end of file