[Action] Testing Docker action

This commit is contained in:
Ganesh Gore 2020-12-05 22:40:33 -07:00
parent 10cab93799
commit ea7e2b248b
2 changed files with 4 additions and 6 deletions

View File

@ -42,13 +42,11 @@ jobs:
repository: efabless/open_mpw_precheck repository: efabless/open_mpw_precheck
path: open_mpw_precheck path: open_mpw_precheck
- name: Perform checks with open_mpw_precheck - name: Perform checks with open_mpw_precheck
uses: ganeshgore/docker-run-action@1cd63ec uses: ganeshgore/docker-run-action@49cd3a1
with: with:
image: goreganesh/open_mpw_prechecker image: goreganesh/open_mpw_prechecker
options: > options: -v ${{github.workspace}}/open_mpw_precheck:/usr/local/bin -v ${{github.workspace}}:/usr/local/workspace -e DEST_DIR=$DEST_DIR -e SCAN_DIRECTORY=$SCAN_DIRECTORY --workdir /usr/local/workspace
-v ${{github.workspace}}/open_mpw_precheck:/usr/local/bin -v ${{github.workspace}}:/usr/local/workspace -e DEST_DIR=$DEST_DIR -e SCAN_DIRECTORY=$SCAN_DIRECTORY --workdir /usr/local/workspace run: pwd && cd /usr/local/workspace && ls && printenv && bash ./SOFA-Chips/.github/workflows/perform_precheck.sh
run: pwd && cd /usr/local/workspace && ls && bash ./SOFA-Chips/.github/workflows/perform_precheck.sh
- name: Deploy files - name: Deploy files
run: bash ./SOFA-Chips/.github/workflows/sync_repo.sh run: bash ./SOFA-Chips/.github/workflows/sync_repo.sh
- name: Deploy Changes - name: Deploy Changes

View File

@ -7,7 +7,7 @@
printenv printenv
cd ./${DEST_DIR} cd ./${DEST_DIR}
echo "Running in directory ${pwd}" echo "Running in directory ${PWD}"
cp ../SOFA-Chips/${SCAN_DIRECTORY}/fpga_top_icv_in_design.gds.gz ./gds/ cp ../SOFA-Chips/${SCAN_DIRECTORY}/fpga_top_icv_in_design.gds.gz ./gds/
make uncompress make uncompress