Skip to content

Commit

Permalink
i#3544 RV64: Fix CI rsync issue
Browse files Browse the repository at this point in the history
Adds a check for the existence of a package install dir when manually
copying packages for the cross-compile setup as it seems to not be
present in newer versions of the packages.

Issue: #3544
  • Loading branch information
derekbruening committed Nov 28, 2023
1 parent 34fbc25 commit 74b3b1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-riscv64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ jobs:
for i in *.deb; do dpkg-deb -x $i ../extract; done
for i in include lib; do sudo rsync -av ../extract/usr/${i}/riscv64-linux-gnu/ /usr/riscv64-linux-gnu/${i}/; done
sudo rsync -av ../extract/usr/include/ /usr/riscv64-linux-gnu/include/
sudo rsync -av ../extract/lib/riscv64-linux-gnu/ /usr/riscv64-linux-gnu/lib/
if test -e "../extract/lib/riscv64-linux-gnu/"; then \
sudo rsync -av ../extract/lib/riscv64-linux-gnu/ /usr/riscv64-linux-gnu/lib/; \
fi
- name: Run Suite
working-directory: ${{ github.workspace }}
Expand Down

0 comments on commit 74b3b1e

Please sign in to comment.