aboutsummaryrefslogtreecommitdiff
path: root/util/ci
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-03-07 13:58:27 +0100
committersfan5 <sfan5@live.de>2021-03-09 21:53:17 +0100
commit75eb28b95994781d52eb2c09303b1cd04e32b6c5 (patch)
treec2c1473e4976d915fa4058d90907b610c5b415f3 /util/ci
parent91c9313c87bfec8b44e5adb91b06aba9f343dd53 (diff)
downloadminetest-75eb28b95994781d52eb2c09303b1cd04e32b6c5.tar.gz
minetest-75eb28b95994781d52eb2c09303b1cd04e32b6c5.tar.bz2
minetest-75eb28b95994781d52eb2c09303b1cd04e32b6c5.zip
CI: update configurations for Irrlicht fork
Diffstat (limited to 'util/ci')
-rw-r--r--util/ci/common.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/util/ci/common.sh b/util/ci/common.sh
index 7523fa7ff..d73c31b2f 100644
--- a/util/ci/common.sh
+++ b/util/ci/common.sh
@@ -2,12 +2,20 @@
# Linux build only
install_linux_deps() {
- local pkgs=(libirrlicht-dev cmake libbz2-dev libpng-dev \
+ local pkgs=(cmake libpng-dev \
libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev \
libhiredis-dev libogg-dev libgmp-dev libvorbis-dev libopenal-dev \
gettext libpq-dev postgresql-server-dev-all libleveldb-dev \
libcurl4-openssl-dev)
+ if [[ "$1" == "--old-irr" ]]; then
+ shift
+ pkgs+=(libirrlicht-dev)
+ else
+ wget "https://github.com/minetest/irrlicht/releases/download/1.9.0mt0/ubuntu-bionic.tar.gz"
+ sudo tar -xaf ubuntu-bionic.tar.gz -C /usr/local
+ fi
+
sudo apt-get update
sudo apt-get install -y --no-install-recommends ${pkgs[@]} "$@"
}