diff --git a/.github/workflows/precheck_test.yml b/.github/workflows/precheck_test.yml index 676b9ea..9978fbe 100644 --- a/.github/workflows/precheck_test.yml +++ b/.github/workflows/precheck_test.yml @@ -81,18 +81,21 @@ jobs: export PDK_ROOT=${{ github.workspace }}/pdk export PDKPATH=$PDK_ROOT/sky130A - docker pull efabless/mpw_precheck:latest + ls $PDK_ROOT + ls $PDKPATH - docker run -v "$PRECHECK_ROOT":"$PRECHECK_ROOT" -v "$INPUT_DIRECTORY":"$INPUT_DIRECTORY" -v "${{ env.PDK_ROOT }}":"${{ env.PDK_ROOT }}" -e INPUT_DIRECTORY="$INPUT_DIRECTORY" -e PDK_ROOT="${{ env.PDK_ROOT }}" -e PDKPATH="${{ env.PDKPATH }}" -u $(id -u "$USER"):$(id -g "$USER") efabless/mpw_precheck:latest bash -c "cd $PRECHECK_ROOT; python3 mpw_precheck.py --input_directory $INPUT_DIRECTORY --pdk_path $PDKPATH --output_directory $OUTPUT_DIRECTORY" + # docker pull efabless/mpw_precheck:latest + + # docker run -v "$PRECHECK_ROOT":"$PRECHECK_ROOT" -v "$INPUT_DIRECTORY":"$INPUT_DIRECTORY" -v "${{ env.PDK_ROOT }}":"${{ env.PDK_ROOT }}" -e INPUT_DIRECTORY="$INPUT_DIRECTORY" -e PDK_ROOT="${{ env.PDK_ROOT }}" -e PDKPATH="${{ env.PDKPATH }}" -u $(id -u "$USER"):$(id -g "$USER") efabless/mpw_precheck:latest bash -c "cd $PRECHECK_ROOT; python3 mpw_precheck.py --input_directory $INPUT_DIRECTORY --pdk_path $PDKPATH --output_directory $OUTPUT_DIRECTORY" ls $INPUT_DIRECTORY ls $OUTPUT_DIRECTORY ls $OUTPUT_DIRECTORY/logs - cnt=$(grep -c "All Checks Passed" "$OUTPUT") - if ! [[ $cnt ]]; then cnt=0; fi - if [[ $cnt -eq 1 ]]; then exit 0; fi - exit 2 + # cnt=$(grep -c "All Checks Passed" "$OUTPUT") + # if ! [[ $cnt ]]; then cnt=0; fi + # if [[ $cnt -eq 1 ]]; then exit 0; fi + # exit 2 - name: Upload MPW Precheck output uses: actions/upload-artifact@v3