remove trailing comma that breaks parsing in sram cache #2
This file contains 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
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: | |
# Step 1: Create a temporary directory | |
- name: Create temporary directory | |
run: | | |
TMP_DIR=$(mktemp -d) | |
echo "Temporary directory created at: $TMP_DIR" | |
echo "TMP_DIR=$TMP_DIR" >> $GITHUB_ENV | |
# Clone this repo | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Run `make build` in the `e2e` directory | |
run: | | |
cd e2e | |
# TODO make sure poetry is installed | |
#curl -sSL https://install.python-poetry.org | python3 - | |
poetry install | |
poetry shell | |
# 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 |