Skip to content

Commit

Permalink
[CI] Update precheck scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Manarabdelaty committed Sep 17, 2021
1 parent ddc7196 commit 71e9424
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/precheck/run-precheck-drc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cd ..
export PDK_ROOT=$(pwd)/precheck_pdks
cd $TARGET_PATH/mpw_precheck/

docker run -v $(pwd):/usr/local/bin -v $TARGET_PATH:$TARGET_PATH -v $CARAVEL_ROOT:$CARAVEL_ROOT -v $PDK_ROOT:$PDK_ROOT -u $(id -u $USER):$(id -g $USER) efabless/mpw_precheck:latest bash -c "python3 mpw_precheck.py check magic_drc klayout_offgrid klayout_feol klayout_zeroarea klayout_pin_label_purposes_overlapping_drawing --pdk_root $PDK_ROOT --input_direcoty $TARGET_PATH --caravel_root $CARAVEL_ROOT"
docker run -v $(pwd):/usr/local/bin -v $TARGET_PATH:$TARGET_PATH -v $CARAVEL_ROOT:$CARAVEL_ROOT -v $PDK_ROOT:$PDK_ROOT -u $(id -u $USER):$(id -g $USER) efabless/mpw_precheck:latest bash -c "python3 mpw_precheck.py magic_drc klayout_offgrid klayout_feol klayout_zeroarea klayout_pin_label_purposes_overlapping_drawing --pdk_root $PDK_ROOT --input_direcoty $TARGET_PATH --caravel_root $CARAVEL_ROOT"
output=$TARGET_PATH/checks/full_log.log

gzipped_file=$TARGET_PATH/checks/full_log.log.gz
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/precheck/run-precheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cd ..
export PDK_ROOT=$(pwd)/precheck_pdks
cd $TARGET_PATH/mpw_precheck/

docker run -v $(pwd):/usr/local/bin -v $TARGET_PATH:$TARGET_PATH -v $PDK_ROOT:$PDK_ROOT -v $CARAVEL_ROOT:$CARAVEL_ROOT -u $(id -u $USER):$(id -g $USER) efabless/mpw_precheck:latest bash -c "python3 mpw_precheck.py --pdk_root $PDK_ROOT --input_directory $TARGET_PATH --caravel_root $CARAVEL_ROOT"
docker run -v $(pwd):/usr/local/bin -v $TARGET_PATH:$TARGET_PATH -v $PDK_ROOT:$PDK_ROOT -v $CARAVEL_ROOT:$CARAVEL_ROOT -u $(id -u $USER):$(id -g $USER) efabless/mpw_precheck:latest bash -c "python3 mpw_precheck.py license yaml manifest makefile default documentation consistency xor --pdk_root $PDK_ROOT --input_directory $TARGET_PATH --caravel_root $CARAVEL_ROOT"
output=$TARGET_PATH/checks/full_log.log

gzipped_file=$TARGET_PATH/checks/full_log.log.gz
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/caravel_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
# Runs on Pull Requests
pull_request:
workflow_dispatch:

jobs:
make_ship:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/user_project_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
# Runs on Pull Requests
pull_request:
workflow_dispatch:

jobs:
precheck:
Expand Down

0 comments on commit 71e9424

Please sign in to comment.