Skip to content

fix poetry env usage #3

fix poetry env usage

fix poetry env usage #3

Workflow file for this run

name: End-to-end CAD flow smoketests
on:
push:
branches:
- main
- test-ci
- sky130_pydantic
pull_request:
jobs:
sky130-cm-e2e:
runs-on: [self-hosted] # TODO: replace with something centrally admined
steps:
# Clone this repo
- name: Checkout
uses: actions/[email protected]
- name: Run syn (Genus), par (Innovus), drc (Pegasus), and lvs (Pegasus) on the GCD design in sky130, using sky130_scl.
run: |
cd e2e
poetry install
source $(poetry env info --path)/bin/activate
# redirect all hammer output a temp file, since it contains proprietary tool logs
tempfile=$(mktemp)
echo "log file is $tempfile on $(hostname)" | tee -a $tempfile
echo "End-to-end CAD flow CI smoketest running on" ${{ github.head_ref }}.${{ github.sha }} > $tempfile 2>&1
make build >> $tempfile 2>&1
echo "running par.." | tee -a $tempfile
make par >> $tempfile 2>&1
echo "running drc.." | tee -a $tempfile
make drc >> $tempfile 2>&1
echo "running lvs.." | tee -a $tempfile
make lvs >> $tempfile 2>&1