-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
67 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: End-to-end CAD flow CI smoketest | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- test-ci | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
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 $(uname -a)" | 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 |
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
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
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
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