Skip to content

Commit

Permalink
try with klayout
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippNauck committed Dec 11, 2024
1 parent f5f2dee commit 2af36c8
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/drc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,26 @@ jobs:
- name: Verify Node.js
run: node --version

install-klayout:
runs-on: ubuntu-latest
outputs:
klayout-installed: ${{ steps.klayout-setup.outputs.success }}
steps:
- name: Get all files
uses: actions/checkout@master

- name: Install klayout
id: klayout-setup
run: |
sudo apt update -qq -y
sudo dpkg -i ${{ github.workspace }}/drc/klayout_0.29.6-1_amd64.deb || true
sudo apt install -f -y
echo "::set-output name=success::true"
- name: Verify klayout
run: klayout -v

process-files:
needs: [install-python, install-nodejs]
needs: [install-python, install-nodejs, install-klayout]
runs-on: ubuntu-latest
steps:
- name: Verify Python Installation
Expand All @@ -105,11 +123,16 @@ jobs:
if: ${{ needs.install-nodejs.outputs.nodejs-installed == 'true' }}
run: node --version

- name: Verify Klayout Installation
if: ${{ needs.install-klayout.outputs.klayout-installed == 'true' }}
run: klayout -v

- name: Use installed programs
run: |
echo "All installations successful. Running tasks..."
python3 -c "print('Python is ready!')"
node -e "console.log('Node.js is ready!')"
klayout -v
# test_Klayout:
# needs: install_Klayout
Expand Down

0 comments on commit 2af36c8

Please sign in to comment.