Dev -> Main update TO_July2025 #158
This file contains hidden or 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
#========================================================================== | |
# Copyright 2024 IHP PDK Authors | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
# SPDX-License-Identifier: Apache-2.0 | |
#========================================================================== | |
name: LVS Regression Testing | |
concurrency: | |
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
paths: | |
- 'ihp-sg13g2/libs.tech/klayout/tech/lvs/**' | |
workflow_dispatch: | |
jobs: | |
lvs_regression: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🧾 Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: 💾 Restore KLayout .deb from cache | |
id: cache-klayout | |
uses: actions/cache@v4 | |
with: | |
path: klayout-0_30_2.deb | |
key: klayout-deb-cache-ubuntu-0_30_2 | |
restore-keys: | | |
klayout-deb-cache- | |
- name: 🔽 Download KLayout .deb if not cached | |
if: steps.cache-klayout.outputs.cache-hit != 'true' | |
run: | | |
echo "Downloading KLayout .deb..." | |
curl -L --retry 5 --retry-delay 5 --retry-all-errors \ | |
-o klayout-0_30_2.deb https://www.klayout.org/downloads/Ubuntu-24/klayout_0.30.2-1_amd64.deb | |
- name: ⚙️ Install KLayout | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -y ./klayout-0_30_2.deb | |
echo "✅ KLayout version:" | |
klayout -v | |
- name: 🧪 Run SG13G2 KLayout LVS Regression | |
run: make test-LVS-main | |
lvs_regression_cells: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🧾 Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: 💾 Restore KLayout .deb from cache | |
id: cache-klayout | |
uses: actions/cache@v4 | |
with: | |
path: klayout-0_30_2.deb | |
key: klayout-deb-cache-ubuntu-0_30_2 | |
restore-keys: | | |
klayout-deb-cache- | |
- name: 🔽 Download KLayout .deb if not cached | |
if: steps.cache-klayout.outputs.cache-hit != 'true' | |
run: | | |
echo "Downloading KLayout .deb..." | |
curl -L --retry 5 --retry-delay 5 --retry-all-errors \ | |
-o klayout-0_30_2.deb https://www.klayout.org/downloads/Ubuntu-24/klayout_0.30.2-1_amd64.deb | |
- name: ⚙️ Install KLayout | |
run: | | |
sudo apt update -qq -y | |
sudo apt install ./klayout-0_30_2.deb | |
echo "✅ KLayout version:" | |
klayout -v | |
- name: 🧪 Run LVS Regression for SG13G2 Cells | |
run: make test-LVS-cells |