From 7beb9c74277f8f874dd05b92d7b9a55ab4ea37f5 Mon Sep 17 00:00:00 2001 From: Sai Charan Date: Tue, 7 Nov 2023 08:43:06 +0530 Subject: [PATCH 1/3] fix grepping open_pdks version in verify_latest_versions.yml, also print the workflow while running temp-sense in verify_latest_versions.yml and include cryo-gen checks badge inside README file --- .github/workflows/verify_latest_tools_versions.yml | 3 ++- README.rst | 5 +++++ docker/conda/scripts/extract_tool_versions.sh | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify_latest_tools_versions.yml b/.github/workflows/verify_latest_tools_versions.yml index 6e66415e9..d51d0b905 100644 --- a/.github/workflows/verify_latest_tools_versions.yml +++ b/.github/workflows/verify_latest_tools_versions.yml @@ -58,7 +58,8 @@ jobs: pip3 install -r requirements.txt &&\ cd ./openfasoc/generators/temp-sense-gen &&\ make sky130hd_temp\ - ">> file.log + " && exit_code=$? | tee -a file.log + if [ $? -ne 0 ]; then exit 1; fi if grep "\[ERROR\]" file.log; then exit 1; else exit 0; fi # sky130hd_temp_full: diff --git a/README.rst b/README.rst index f081d0b8d..3522d5d03 100644 --- a/README.rst +++ b/README.rst @@ -28,6 +28,11 @@ This project is led by a team of researchers at the University of Michigan and i .. image:: https://colab.research.google.com/assets/colab-badge.svg :target: https://colab.research.google.com/github/idea-fasoc/OpenFASOC/blob/main/docs/source/notebooks/ldo-gen/LDO_notebook.ipynb +* **Cryogenic -** + .. image:: https://github.com/idea-fasoc/OpenFASOC/actions/workflows/cryo-gen.yml/badge.svg + :target: https://github.com/idea-fasoc/OpenFASOC/actions/workflows/cryo-gen.yml + + Getting Started **************** diff --git a/docker/conda/scripts/extract_tool_versions.sh b/docker/conda/scripts/extract_tool_versions.sh index a5d9c79e8..e3643c5fa 100644 --- a/docker/conda/scripts/extract_tool_versions.sh +++ b/docker/conda/scripts/extract_tool_versions.sh @@ -5,4 +5,4 @@ echo "OpenROAD - $(conda list | grep -e openroad | tr -s " " | cut -d " " -f 2 | echo "yosys - $(yosys -version | cut -d " " -f 2)" echo "magic - $(magic --version)" echo "netgen - $(conda list | grep netgen | tr -s " " | cut -d " " -f 2 | cut -d "_" -f 1)" -echo "open_pdks - $(cat $PDK_ROOT/sky130A/.config/nodeinfo.json | grep open_pdks | grep "\." | cut -d "\"" -f 4)" +echo "open_pdks - $(cat $PDK_ROOT/sky130A/.config/nodeinfo.json | grep -m 1 open_pdks | grep "\." | cut -d "\"" -f 4)" From dfc1d1fa62414fa13015946baa9f5576ddee2ca3 Mon Sep 17 00:00:00 2001 From: Sai Charan Date: Tue, 7 Nov 2023 09:03:58 +0530 Subject: [PATCH 2/3] fix link of cryo_gen workflow inside README --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 3522d5d03..eb87cd156 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ This project is led by a team of researchers at the University of Michigan and i * **Cryogenic -** .. image:: https://github.com/idea-fasoc/OpenFASOC/actions/workflows/cryo-gen.yml/badge.svg - :target: https://github.com/idea-fasoc/OpenFASOC/actions/workflows/cryo-gen.yml + :target: https://github.com/idea-fasoc/OpenFASOC/actions/workflows/cryo_gen.yml Getting Started From 8008402e31ee661c279ea303d46e797540d4ef00 Mon Sep 17 00:00:00 2001 From: Sai Charan Date: Tue, 7 Nov 2023 09:05:19 +0530 Subject: [PATCH 3/3] also the bade for above fix --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index eb87cd156..730a5be9b 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,7 @@ This project is led by a team of researchers at the University of Michigan and i :target: https://colab.research.google.com/github/idea-fasoc/OpenFASOC/blob/main/docs/source/notebooks/ldo-gen/LDO_notebook.ipynb * **Cryogenic -** - .. image:: https://github.com/idea-fasoc/OpenFASOC/actions/workflows/cryo-gen.yml/badge.svg + .. image:: https://github.com/idea-fasoc/OpenFASOC/actions/workflows/cryo_gen.yml/badge.svg :target: https://github.com/idea-fasoc/OpenFASOC/actions/workflows/cryo_gen.yml