Skip to content

Commit

Permalink
more workflow clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
kareefardi committed Aug 17, 2023
1 parent 52e8334 commit 26013ab
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/user_project_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Export PDK ROOT
run: echo "PDK_ROOT=/home/runner/work/pdk" >> $GITHUB_ENV

- name: Export OPENLANE ROOT
run: echo "OPENLANE_ROOT=/home/runner/work/caravel_user_project/openlane" >> $GITHUB_ENV
- name: Export Env Variables
run: |
echo "PDK_ROOT=/home/runner/work/pdk" >> $GITHUB_ENV
echo "OPENLANE_ROOT=/home/runner/work/caravel_user_project/openlane" >> $GITHUB_ENV
- name: Install dependencies
- name: Install Dependencies
run: |
sudo apt install -y python3-tk
sudo mkdir -p ${{ env.PDK_ROOT }}
sudo chown -R $USER:$USER ${{ env.PDK_ROOT }}
make install
Expand Down Expand Up @@ -61,14 +59,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Export PDK Variables
- name: Export Env Variables
run: |
echo "PDK_ROOT=/home/runner/work/pdk" >> $GITHUB_ENV
echo "PDK=${{ matrix.pdk }}" >> $GITHUB_ENV
echo "PDKPATH=/home/runner/work/pdk/${{ matrix.pdk }}" >> $GITHUB_ENV
echo "OPENLANE_ROOT=/home/runner/work/caravel_user_project/openlane" >> $GITHUB_ENV
- name: Export OPENLANE ROOT
run: echo "OPENLANE_ROOT=/home/runner/work/caravel_user_project/openlane" >> $GITHUB_ENV
- name: Download PDK Tarball
uses: actions/download-artifact@v2
Expand All @@ -82,7 +79,7 @@ jobs:
sudo chown -R $USER:$USER ${{ env.PDK_ROOT }}
tar -xf /tmp/pdk.tar -C $PDK_ROOT .
- name: Install dependencies
- name: Install Dependencies
run: |
make install
make install_mcw
Expand Down Expand Up @@ -111,7 +108,7 @@ jobs:
if ! [[ $cnt ]]; then cnt=0; fi
if [[ $cnt -eq 1 ]]; then exit 0; fi
exit 2
- name: Upload Failure Logs
if: failure()
uses: actions/upload-artifact@v2
Expand All @@ -122,8 +119,8 @@ jobs:
- name: Run DV RTL tests
run: |
make verify-io_ports-rtl
make verify-la_test1-rtl
make verify-la_test2-rtl
make verify-mprj_stimulus-rtl
make verify-io_ports-rtl
make verify-la_test1-rtl
make verify-la_test2-rtl
make verify-mprj_stimulus-rtl
make verify-wb_port-rtl

0 comments on commit 26013ab

Please sign in to comment.