Skip to content

Commit 5cea0bc

Browse files
authored
[test] fix rpi install libs (#8207)
1 parent b70e617 commit 5cea0bc

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/of.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ jobs:
101101
- name: Install dependencies
102102
run: ./scripts/ci/msys2/install.sh --msystem=${{ matrix.msystem }}
103103

104+
- name: LS
105+
shell: bash
106+
run: ls -alfR
107+
104108
- name: Build
105109
run: ./scripts/ci/msys2/build.sh
106110

scripts/dev/download_libs.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,16 @@ for PKG in $PKGS; do
358358
unzip -qo download/$PKG
359359
# rm -r download/$PKG
360360
else
361-
tar xjf download/$PKG
361+
362+
# FIXME: this if can be removed after this is fixed properly on apothecary, see:
363+
# https://github.com/openframeworks/openFrameworks/issues/8206
364+
365+
if [ "$PLATFORM" == "linux" && [ [ "$ARCH" == "aarch64" ] || [ "$ARCH" == "armv7l" ] || [ "$ARCH" == "armv6l" ] ] ]; then
366+
echo "tar xjfv download/$PKG --strip-components=1"
367+
tar xjf download/$PKG --strip-components=1
368+
else
369+
tar xjfv download/$PKG
370+
fi
362371
# rm -r download/$PKG
363372
fi
364373
echo " Deployed libraries from [download/$PKG] to [/libs]"

0 commit comments

Comments
 (0)