GHA: Tidy up scilab install
This commit is contained in:
parent
961424a986
commit
9525d75533
2 changed files with 1 additions and 7 deletions
|
|
@ -29,11 +29,5 @@ case "$SWIGLANG" in
|
||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"scilab")
|
|
||||||
# Travis has the wrong version of Java pre-installed resulting in error using scilab:
|
|
||||||
# /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory
|
|
||||||
echo "JAVA_HOME was set to $JAVA_HOME"
|
|
||||||
unset JAVA_HOME
|
|
||||||
;;
|
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,7 @@ case "$SWIGLANG" in
|
||||||
;;
|
;;
|
||||||
"scilab")
|
"scilab")
|
||||||
if [[ -z "$VER" ]]; then
|
if [[ -z "$VER" ]]; then
|
||||||
$RETRY sudo apt-get -qq install scilab scilab-include
|
$RETRY sudo apt-get -qq install scilab
|
||||||
else
|
else
|
||||||
$RETRY wget --progress=dot:giga "https://www.scilab.org/download/$VER/scilab-$VER.bin.linux-x86_64.tar.gz"
|
$RETRY wget --progress=dot:giga "https://www.scilab.org/download/$VER/scilab-$VER.bin.linux-x86_64.tar.gz"
|
||||||
# $HOME/.local/bin is in PATH and writeable
|
# $HOME/.local/bin is in PATH and writeable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue