Merge pull request #88 from mithro/main
Fix the CI
diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml
index a4ba512..226fc27 100644
--- a/.github/workflows/Tests.yml
+++ b/.github/workflows/Tests.yml
@@ -53,6 +53,18 @@
steps:
+ - name: Installing Klayout
+ run: |
+ sudo apt update -qq -y
+ wget https://www.klayout.org/downloads/Ubuntu-22/klayout_0.28.2-1_amd64.deb
+ # The dpkg command will fail complaining about missing dependencies.
+ sudo dpkg -i ./klayout_0.28.2-1_amd64.deb || true
+ # The apt install command should install the missing dependencies
+ # needed by KLayout above and finish the install.
+ sudo apt install -f -y
+ # Check that KLayout was successfully installed!
+ klayout -h
+
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
@@ -63,20 +75,6 @@
- run: pip install -r ./rules/klayout/requirements.test.txt
- - name: Installing Klayout
- run: |
- sudo apt update -qq -y
- wget https://www.klayout.org/downloads/Ubuntu-20/klayout_0.27.10-1_amd64.deb
- sudo apt install -qq -y \
- qt5-default \
- qttools5-dev \
- libqt5xmlpatterns5-dev \
- qtmultimedia5-dev \
- libqt5multimediawidgets5 \
- libqt5svg5-dev
- sudo dpkg -i ./klayout_0.27.10-1_amd64.deb
- sudo apt install -f -y
-
- name: Testing ${{ matrix.type }} for ${{ matrix.test }}
run: |
cd ./rules/klayout/${{ matrix.pdk }}/testing