Skip to content

Commit

Permalink
Update download.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
e-marchand authored Jun 6, 2024
1 parent d467152 commit e010906
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,26 @@ if [[ -f "$tool4d_bin" ]]; then
echo "tool4d=$tool4d_bin" >> "$GITHUB_OUTPUT"
fi

if [[ $RUNNER_OS == 'Linux' ]]; then
# Intall dependencies
# todo get a list from archive or maybe use .deb package
# Depends: libc++1 (>= 10), libncurses5 (>= 6.2), libcap-ng0 (>= 0.7.9), uuid-runtime (>= 2.34), libbsd0 (>= 0.10), libfreeimage3 (>= 3.18), libsystemd0 (>= 245.4), xdg-user-dirs (>= 0.17)
apt-get update -y \
&& apt-get install -y \
libc++1 \
libc++abi1 \
libncurses5 \
libcap-ng0 \
uuid-runtime \
libbsd0 \
zlib1g \
libfreeimage3 \
libsystemd0 \
libuv1 \
xdg-user-dirs \
unzip
fi

"$tool4d_bin" --version
else
>&2 echo "❌ Failed to unpack tool4d."
Expand Down

0 comments on commit e010906

Please sign in to comment.