Skip to content

Commit

Permalink
[test] fix rpi install libs (#8207)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitre authored Nov 20, 2024
1 parent b70e617 commit 5cea0bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/of.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ jobs:
- name: Install dependencies
run: ./scripts/ci/msys2/install.sh --msystem=${{ matrix.msystem }}

- name: LS
shell: bash
run: ls -alfR

- name: Build
run: ./scripts/ci/msys2/build.sh

Expand Down
11 changes: 10 additions & 1 deletion scripts/dev/download_libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,16 @@ for PKG in $PKGS; do
unzip -qo download/$PKG
# rm -r download/$PKG
else
tar xjf download/$PKG

# FIXME: this if can be removed after this is fixed properly on apothecary, see:
# https://github.com/openframeworks/openFrameworks/issues/8206

if [ "$PLATFORM" == "linux" && [ [ "$ARCH" == "aarch64" ] || [ "$ARCH" == "armv7l" ] || [ "$ARCH" == "armv6l" ] ] ]; then
echo "tar xjfv download/$PKG --strip-components=1"
tar xjf download/$PKG --strip-components=1
else
tar xjfv download/$PKG
fi
# rm -r download/$PKG
fi
echo " Deployed libraries from [download/$PKG] to [/libs]"
Expand Down

0 comments on commit 5cea0bc

Please sign in to comment.