Skip to content

Commit

Permalink
added CI for defaults updating
Browse files Browse the repository at this point in the history
  • Loading branch information
marwaneltoukhy committed Oct 8, 2023
1 parent c6c649a commit ef52b96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/update_defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ jobs:
mkdir -p $GITHUB_WORKSPACE/tmp_default_content/gds
if [ "${{ matrix.design_types }}" = "openframe" ]; then
repo_name="caravel_openframe_project"
gds_name="openframe_project_wrapper"
elif [ "${{ matrix.design_types }}" = "analog" ]; then
repo_name="caravel_user_project_analog"
gds_name="user_analog_project_wrapper"
elif [ "${{ matrix.design_types }}" = "digital" ]; then
repo_name="caravel_user_project"
gds_name="user_project_wrapper"
fi
curl -o $GITHUB_WORKSPACE/tmp_default_content/README_${{ matrix.design_types }}.md -L https://raw.githubusercontent.com/efabless/$repo_name/main/README.md
curl -o $GITHUB_WORKSPACE/tmp_default_content/gds/$gds_name.gds -L https://raw.githubusercontent.com/efabless/$repo_name/main/gds/$gds_name.gds
python3 $GITHUB_WORKSPACE/checks/defaults_check.py -i $GITHUB_WORKSPACE/tmp_default_content -d $GITHUB_WORKSPACE/_default_content

0 comments on commit ef52b96

Please sign in to comment.