From 6eb18edd96bba43f619b82275dd2b2c149f228f6 Mon Sep 17 00:00:00 2001 From: marwaneltoukhy Date: Sun, 20 Aug 2023 10:11:39 +0300 Subject: [PATCH] CI investigation --- .github/workflows/user_project_ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/user_project_ci.yml b/.github/workflows/user_project_ci.yml index 7bda09b9..c4fcb087 100644 --- a/.github/workflows/user_project_ci.yml +++ b/.github/workflows/user_project_ci.yml @@ -27,10 +27,16 @@ jobs: - name: Export PDKPATH run: echo "PDKPATH=/home/runner/work/pdk/sky130A" >> $GITHUB_ENV + - name: Get memory usage + run: | + free + memory_usage=$(free) + - name: Download PDK run: | MPW_TAG=main CARAVEL_LITE=0 make install make pdk-with-volare + echo "Memory usage after step: ${memory_usage}" - name: Run MPW-Precheck run: | @@ -39,6 +45,7 @@ jobs: export OUTPUT_DIRECTORY=$INPUT_DIRECTORY/mpw_precheck_result export OUTPUT=$OUTPUT_DIRECTORY/logs/precheck.log git clone --depth=1 -b mpw-7a https://github.com/efabless/mpw_precheck.git + echo "Memory usage after step: ${memory_usage}" 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 ${{ env.PDKPATH }} --output_directory $OUTPUT_DIRECTORY license makefile consistency xor magic_drc klayout_beol klayout_feol klayout_met_min_ca_density klayout_offgrid klayout_pin_label_purposes_overlapping_drawing klayout_zeroarea" cnt=$(grep -c "All Checks Passed" "$OUTPUT") if ! [[ $cnt ]]; then cnt=0; fi