2023-09-13 02:18:13 -04:00
|
|
|
|
|
|
|
# Github repository is really at minetest.org using the poikilos git.minetest.io
|
|
|
|
# https://gitlab.com/minenux/minetest-engine-minetest
|
|
|
|
# Pipelines URL: https://gitlab.com/minenux/minetest-engine-minetest/pipelines
|
|
|
|
# packages moved to https://build.opensuse.org/project/show/home:venenux:minenux
|
|
|
|
# in future we only build here, or made apk packs for alpine
|
2017-04-08 10:19:07 +02:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
2017-04-21 10:22:20 +02:00
|
|
|
|
|
|
|
variables:
|
2023-09-13 02:18:13 -04:00
|
|
|
MINETEST_GAME_REPO: "https://gitlab.com/minenux/minetest-game-minetest.git"
|
2017-04-08 10:19:07 +02:00
|
|
|
|
2023-09-13 02:18:13 -04:00
|
|
|
.build_template:
|
2017-04-08 10:19:07 +02:00
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- mkdir cmakebuild
|
|
|
|
- mkdir -p artifact/minetest/usr/
|
2023-09-13 02:18:13 -04:00
|
|
|
- mkdir -p games
|
|
|
|
- cd games
|
|
|
|
- git clone -b stable-0.4 --single-branch $MINETEST_GAME_REPO minetest
|
|
|
|
- cd ../cmakebuild
|
|
|
|
- cmake -DCMAKE_INSTALL_PREFIX=../artifact/minetest/usr/ -DBUILD_SERVER=ON -DBUILD_CLIENT=ON -DCMAKE_BUILD_TYPE=Release -DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE -DENABLE_SYSTEM_JSONCPP=TRUE APPLY_LOCALE_BLACKLIST=FALSE ..
|
|
|
|
- make -j$(nproc)
|
2017-04-08 10:19:07 +02:00
|
|
|
- make install
|
|
|
|
artifacts:
|
|
|
|
when: on_success
|
2023-09-13 02:18:13 -04:00
|
|
|
expire_in: 5h
|
2017-04-08 10:19:07 +02:00
|
|
|
paths:
|
|
|
|
- artifact/*
|
|
|
|
|
|
|
|
##
|
2023-09-13 02:18:13 -04:00
|
|
|
## Debian mother of many distros
|
2017-04-08 10:19:07 +02:00
|
|
|
##
|
2017-04-21 10:22:20 +02:00
|
|
|
|
|
|
|
# Jessie
|
|
|
|
|
set a new compilation set of rules, tune cmakefiles, tune buils
* tune up gitlab ci:
* add winbuntu 14, add debian 7, winbuntu 17, build minetest for olders one
* use minenux minetest repo game (seems not work)
* remove non buildable stages.. remove windo shit
* back cmake in list new behaviour for blacklist locales
* gitlab ci build for debian 8 using backports on jsoncpp
* solved https://github.com/minetest/minetest/issues/6567
* solved https://github.com/minetest/minetest/issues/7681
* cmake fixed to minimum supported and c++11 standar able
* Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
* Fix linking with Postgres libs:
* closes https://github.com/minetest/minetest/issues/12149
* closes https://github.com/minetest/minetest/issues/11219
* PostgreSQL fallback code missed the includes
https://github.com/minetest/minetest/issues/11219
* https://github.com/minetest/minetest/commit/a24899bf2dcd58916922d671ee8761448b6876e5
* https://github.com/minetest/minetest/commit/3e2145d662d26443e96ac7191eda093c85c6f2bc
* integrates https://github.com/minetest/minetest/pull/11215
* https://github.com/minetest/minetest/commit/a24899bf2dcd58916922d671ee8761448b6876e5
* backported https://github.com/minetest/minetest/commit/998e4820c982c0ea9d257c15f93f1f21d85d6327
* use SSE registers for FP operations on i386 for modern gcc platforms only
* only use if related are given, by example 32bit using gcc
compilers/stdlibs becouse of the long time bugs around those
errors by desing, its not about to crash the engine.. its about to
permits to hacked clients (either players or the client program per se)
making predictable results, so predictable results permits to catch
securit issues!
* floating point problems are only on modern gcc and modern platform
arches, raising problems like bad calculations positions..
a long time bug reported at https://git.minetest.land/Mineclonia/Mineclonia/issues/201
and addressed at https://github.com/minetest/minetest/issues/11742#issuecomment-994444462
with enought explanations but not accepted byt stupid developers..
now years later.. the problems were solved and reconiced as big bug!
A workaround were proposed at https://github.com/minetest/minetest/pull/12389/files
but never accepted (included in this repository), cos was superset by https://github.com/minetest/minetest/commit/8ff3fadba033dbc686c4f834811f0744099fedfb
* related minenux/minetest-engine-multicraft2#57
2023-09-14 20:25:32 -04:00
|
|
|
build:debian-7:
|
|
|
|
extends: .build_template
|
|
|
|
image: debian:7
|
|
|
|
before_script:
|
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
# - echo "Acquire::https::download.opensuse.org::Verify-Peer "false";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- rm -rf /etc/apt/sources.list
|
|
|
|
- echo "deb http://archive.debian.org/debian/ wheezy main contrib" > /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://archive.debian.org/debian/ wheezy-backports main contrib non-free" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://archive.debian.org/debian/ jessie-backports main contrib non-free" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://deb.freexian.com/extended-lts wheezy main contrib non-free" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
2023-09-15 05:16:54 -04:00
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install build-essential git cmake pkg-config debhelper lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-3-dev libnl-3-dev librtmp-dev libidn11-dev libncurses-dev libfreetype6-dev libglu1-mesa-dev libgmp-dev libirrlicht-dev libjpeg-dev libleveldb-dev libluajit-5.1-dev liblua5.1-dev libogg-dev libopenal-dev libpng-dev libpq-dev libhiredis-dev libspatialindex-dev libsqlite3-dev libvorbis-dev libx11-dev libxxf86vm-dev libpq-dev libhiredis-dev zlib1g-dev doxygen libxrandr-dev x11proto-xf86vidmode-dev
|
2023-09-15 06:15:26 -04:00
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install -t jessie-backports libjsoncpp-dev libjsoncpp1
|
set a new compilation set of rules, tune cmakefiles, tune buils
* tune up gitlab ci:
* add winbuntu 14, add debian 7, winbuntu 17, build minetest for olders one
* use minenux minetest repo game (seems not work)
* remove non buildable stages.. remove windo shit
* back cmake in list new behaviour for blacklist locales
* gitlab ci build for debian 8 using backports on jsoncpp
* solved https://github.com/minetest/minetest/issues/6567
* solved https://github.com/minetest/minetest/issues/7681
* cmake fixed to minimum supported and c++11 standar able
* Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
* Fix linking with Postgres libs:
* closes https://github.com/minetest/minetest/issues/12149
* closes https://github.com/minetest/minetest/issues/11219
* PostgreSQL fallback code missed the includes
https://github.com/minetest/minetest/issues/11219
* https://github.com/minetest/minetest/commit/a24899bf2dcd58916922d671ee8761448b6876e5
* https://github.com/minetest/minetest/commit/3e2145d662d26443e96ac7191eda093c85c6f2bc
* integrates https://github.com/minetest/minetest/pull/11215
* https://github.com/minetest/minetest/commit/a24899bf2dcd58916922d671ee8761448b6876e5
* backported https://github.com/minetest/minetest/commit/998e4820c982c0ea9d257c15f93f1f21d85d6327
* use SSE registers for FP operations on i386 for modern gcc platforms only
* only use if related are given, by example 32bit using gcc
compilers/stdlibs becouse of the long time bugs around those
errors by desing, its not about to crash the engine.. its about to
permits to hacked clients (either players or the client program per se)
making predictable results, so predictable results permits to catch
securit issues!
* floating point problems are only on modern gcc and modern platform
arches, raising problems like bad calculations positions..
a long time bug reported at https://git.minetest.land/Mineclonia/Mineclonia/issues/201
and addressed at https://github.com/minetest/minetest/issues/11742#issuecomment-994444462
with enought explanations but not accepted byt stupid developers..
now years later.. the problems were solved and reconiced as big bug!
A workaround were proposed at https://github.com/minetest/minetest/pull/12389/files
but never accepted (included in this repository), cos was superset by https://github.com/minetest/minetest/commit/8ff3fadba033dbc686c4f834811f0744099fedfb
* related minenux/minetest-engine-multicraft2#57
2023-09-14 20:25:32 -04:00
|
|
|
# Stretch
|
|
|
|
|
2017-04-08 10:19:07 +02:00
|
|
|
build:debian-8:
|
2023-09-13 02:18:13 -04:00
|
|
|
extends: .build_template
|
|
|
|
image: debian:8
|
|
|
|
before_script:
|
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
# - echo "Acquire::https::download.opensuse.org::Verify-Peer "false";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- rm -rf /etc/apt/sources.list
|
|
|
|
- echo "deb http://archive.debian.org/debian/ jessie main contrib" > /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://archive.debian.org/debian/ jessie-backports main contrib non-free" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://deb.freexian.com/extended-lts jessie main contrib non-free" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
2023-09-15 05:16:54 -04:00
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install build-essential git cmake pkg-config debhelper lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-3-dev libnl-3-dev librtmp-dev libidn11-dev libncurses-dev libfreetype6-dev libglu1-mesa-dev libgmp-dev libirrlicht-dev libjpeg-dev libleveldb-dev libluajit-5.1-dev liblua5.1-dev libogg-dev libopenal-dev libpng-dev libpq-dev libhiredis-dev libspatialindex-dev libsqlite3-dev libvorbis-dev libx11-dev libxxf86vm-dev libpq-dev libhiredis-dev zlib1g-dev doxygen libxrandr-dev x11proto-xf86vidmode-dev
|
2023-09-15 06:15:26 -04:00
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install -t jessie-backports libjsoncpp-dev libjsoncpp1
|
2017-04-21 10:22:20 +02:00
|
|
|
# Stretch
|
|
|
|
|
2017-04-08 10:19:07 +02:00
|
|
|
build:debian-9:
|
2023-09-13 02:18:13 -04:00
|
|
|
extends: .build_template
|
2017-04-08 10:19:07 +02:00
|
|
|
image: debian:9
|
|
|
|
before_script:
|
2023-09-13 02:18:13 -04:00
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- rm -rf /etc/apt/sources.list
|
|
|
|
- echo "deb http://archive.debian.org/debian/ stretch main contrib" > /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://archive.debian.org/debian/ stretch-backports main contrib non-free" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://deb.freexian.com/extended-lts stretch main contrib non-free" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install build-essential git cmake pkg-config cmake-data debhelper lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-3-dev libnl-3-dev librtmp-dev libidn11-dev libncurses-dev libfreetype6-dev libglu1-mesa-dev libgmp-dev libirrlicht-dev libjpeg-dev libjsoncpp-dev libleveldb-dev libluajit-5.1-dev liblua5.1-dev libogg-dev libopenal-dev libpng-dev libpq-dev libhiredis-dev libspatialindex-dev libsqlite3-dev libvorbis-dev libx11-dev libxxf86vm-dev postgresql-server-dev-all libpq-dev libhiredis-dev zlib1g-dev doxygen libxrandr-dev mesa-common-dev x11proto-xf86vidmode-dev libzstd-dev
|
|
|
|
|
|
|
|
# Bullseye
|
|
|
|
|
|
|
|
build:debian-11:
|
|
|
|
extends: .build_template
|
|
|
|
image: debian:11
|
|
|
|
before_script:
|
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake pkg-config cmake-data debhelper lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-3-dev libnl-3-dev librtmp-dev libidn11-dev libncurses-dev libfreetype6-dev libglu1-mesa-dev libgmp-dev libirrlicht-dev libjpeg-dev libjsoncpp-dev libleveldb-dev libluajit-5.1-dev liblua5.1-dev libogg-dev libopenal-dev libpng-dev libpq-dev libhiredis-dev libspatialindex-dev libsqlite3-dev libvorbis-dev libx11-dev libxxf86vm-dev postgresql-server-dev-all libpq-dev libhiredis-dev zlib1g-dev doxygen libxrandr-dev mesa-common-dev x11proto-xf86vidmode-dev libzstd-dev
|
|
|
|
|
|
|
|
# bookworm
|
|
|
|
|
|
|
|
build:debian-12:
|
|
|
|
extends: .build_template
|
|
|
|
image: debian:12
|
|
|
|
before_script:
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake pkg-config cmake-data debhelper lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-3-dev libnl-3-dev librtmp-dev libidn11-dev libncurses-dev libfreetype6-dev libglu1-mesa-dev libgmp-dev libirrlicht-dev libjpeg-dev libjsoncpp-dev libleveldb-dev libluajit-5.1-dev liblua5.1-dev libogg-dev libopenal-dev libpng-dev libpq-dev libhiredis-dev libspatialindex-dev libsqlite3-dev libvorbis-dev libx11-dev libxxf86vm-dev postgresql-server-dev-all libpq-dev libhiredis-dev zlib1g-dev doxygen libxrandr-dev mesa-common-dev x11proto-xf86vidmode-dev libzstd-dev
|
|
|
|
|
2017-04-21 10:22:20 +02:00
|
|
|
|
2017-04-08 10:19:07 +02:00
|
|
|
##
|
|
|
|
## Ubuntu
|
|
|
|
##
|
2017-04-21 10:22:20 +02:00
|
|
|
|
2023-09-13 02:18:13 -04:00
|
|
|
# Utopic most close to jessie
|
2017-04-21 10:22:20 +02:00
|
|
|
|
2023-09-13 02:18:13 -04:00
|
|
|
build:ubuntu-14.10:
|
|
|
|
extends: .build_template
|
|
|
|
image: ubuntu:utopic
|
2017-04-08 10:19:07 +02:00
|
|
|
before_script:
|
2023-09-13 02:18:13 -04:00
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- rm -rf /etc/apt/sources.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu/ utopic main restricted universe multiverse" > /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu utopic-security main restricted universe multiverse" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- apt-get update -y || true
|
|
|
|
- apt-get -y --force-yes install build-essential git cmake pkg-config cmake-data debhelper lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-3-dev libnl-3-dev librtmp-dev libidn11-dev libncurses-dev libfreetype6-dev libglu1-mesa-dev libgmp-dev libirrlicht-dev libjpeg-dev libjsoncpp-dev libleveldb-dev libluajit-5.1-dev liblua5.1-dev libogg-dev libopenal-dev libpng-dev libpq-dev libhiredis-dev libsqlite3-dev libvorbis-dev libx11-dev libxxf86vm-dev libpq-dev libhiredis-dev zlib1g-dev doxygen libxrandr-dev mesa-common-dev x11proto-xf86vidmode-dev
|
|
|
|
|
set a new compilation set of rules, tune cmakefiles, tune buils
* tune up gitlab ci:
* add winbuntu 14, add debian 7, winbuntu 17, build minetest for olders one
* use minenux minetest repo game (seems not work)
* remove non buildable stages.. remove windo shit
* back cmake in list new behaviour for blacklist locales
* gitlab ci build for debian 8 using backports on jsoncpp
* solved https://github.com/minetest/minetest/issues/6567
* solved https://github.com/minetest/minetest/issues/7681
* cmake fixed to minimum supported and c++11 standar able
* Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
* Fix linking with Postgres libs:
* closes https://github.com/minetest/minetest/issues/12149
* closes https://github.com/minetest/minetest/issues/11219
* PostgreSQL fallback code missed the includes
https://github.com/minetest/minetest/issues/11219
* https://github.com/minetest/minetest/commit/a24899bf2dcd58916922d671ee8761448b6876e5
* https://github.com/minetest/minetest/commit/3e2145d662d26443e96ac7191eda093c85c6f2bc
* integrates https://github.com/minetest/minetest/pull/11215
* https://github.com/minetest/minetest/commit/a24899bf2dcd58916922d671ee8761448b6876e5
* backported https://github.com/minetest/minetest/commit/998e4820c982c0ea9d257c15f93f1f21d85d6327
* use SSE registers for FP operations on i386 for modern gcc platforms only
* only use if related are given, by example 32bit using gcc
compilers/stdlibs becouse of the long time bugs around those
errors by desing, its not about to crash the engine.. its about to
permits to hacked clients (either players or the client program per se)
making predictable results, so predictable results permits to catch
securit issues!
* floating point problems are only on modern gcc and modern platform
arches, raising problems like bad calculations positions..
a long time bug reported at https://git.minetest.land/Mineclonia/Mineclonia/issues/201
and addressed at https://github.com/minetest/minetest/issues/11742#issuecomment-994444462
with enought explanations but not accepted byt stupid developers..
now years later.. the problems were solved and reconiced as big bug!
A workaround were proposed at https://github.com/minetest/minetest/pull/12389/files
but never accepted (included in this repository), cos was superset by https://github.com/minetest/minetest/commit/8ff3fadba033dbc686c4f834811f0744099fedfb
* related minenux/minetest-engine-multicraft2#57
2023-09-14 20:25:32 -04:00
|
|
|
build:ubuntu-17.04:
|
2023-09-13 02:18:13 -04:00
|
|
|
extends: .build_template
|
|
|
|
image: ubuntu:zesty
|
|
|
|
before_script:
|
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- rm -rf /etc/apt/sources.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu/ zesty main restricted universe multiverse" > /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu zesty-security main restricted universe multiverse" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install build-essential git cmake pkg-config cmake-data debhelper dh-systemd dh-autoreconf lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-3-dev libnl-3-dev librtmp-dev libidn11-dev libncurses-dev libfreetype6-dev libglu1-mesa-dev libgmp-dev libirrlicht-dev libjpeg-dev libjsoncpp-dev libleveldb-dev libluajit-5.1-dev liblua5.1-dev libogg-dev libopenal-dev libpng-dev libpq-dev libhiredis-dev libspatialindex-dev libsqlite3-dev libvorbis-dev libx11-dev libxxf86vm-dev postgresql-server-dev-all libpq-dev libhiredis-dev zlib1g-dev doxygen libxrandr-dev mesa-common-dev x11proto-xf86vidmode-dev libzstd-dev
|
2017-04-21 10:22:20 +02:00
|
|
|
|
set a new compilation set of rules, tune cmakefiles, tune buils
* tune up gitlab ci:
* add winbuntu 14, add debian 7, winbuntu 17, build minetest for olders one
* use minenux minetest repo game (seems not work)
* remove non buildable stages.. remove windo shit
* back cmake in list new behaviour for blacklist locales
* gitlab ci build for debian 8 using backports on jsoncpp
* solved https://github.com/minetest/minetest/issues/6567
* solved https://github.com/minetest/minetest/issues/7681
* cmake fixed to minimum supported and c++11 standar able
* Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
* Fix linking with Postgres libs:
* closes https://github.com/minetest/minetest/issues/12149
* closes https://github.com/minetest/minetest/issues/11219
* PostgreSQL fallback code missed the includes
https://github.com/minetest/minetest/issues/11219
* https://github.com/minetest/minetest/commit/a24899bf2dcd58916922d671ee8761448b6876e5
* https://github.com/minetest/minetest/commit/3e2145d662d26443e96ac7191eda093c85c6f2bc
* integrates https://github.com/minetest/minetest/pull/11215
* https://github.com/minetest/minetest/commit/a24899bf2dcd58916922d671ee8761448b6876e5
* backported https://github.com/minetest/minetest/commit/998e4820c982c0ea9d257c15f93f1f21d85d6327
* use SSE registers for FP operations on i386 for modern gcc platforms only
* only use if related are given, by example 32bit using gcc
compilers/stdlibs becouse of the long time bugs around those
errors by desing, its not about to crash the engine.. its about to
permits to hacked clients (either players or the client program per se)
making predictable results, so predictable results permits to catch
securit issues!
* floating point problems are only on modern gcc and modern platform
arches, raising problems like bad calculations positions..
a long time bug reported at https://git.minetest.land/Mineclonia/Mineclonia/issues/201
and addressed at https://github.com/minetest/minetest/issues/11742#issuecomment-994444462
with enought explanations but not accepted byt stupid developers..
now years later.. the problems were solved and reconiced as big bug!
A workaround were proposed at https://github.com/minetest/minetest/pull/12389/files
but never accepted (included in this repository), cos was superset by https://github.com/minetest/minetest/commit/8ff3fadba033dbc686c4f834811f0744099fedfb
* related minenux/minetest-engine-multicraft2#57
2023-09-14 20:25:32 -04:00
|
|
|
# artful most close to stretch
|
|
|
|
|
|
|
|
build:ubuntu-17.10:
|
|
|
|
extends: .build_template
|
|
|
|
image: ubuntu:artful
|
|
|
|
before_script:
|
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- rm -rf /etc/apt/sources.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu/ artful main restricted universe multiverse" > /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu/ artful-updates main restricted universe multiverse" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu artful-security main restricted universe multiverse" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install build-essential git cmake pkg-config cmake-data debhelper dh-systemd dh-autoreconf lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-3-dev libnl-3-dev librtmp-dev libidn11-dev libncurses-dev libfreetype6-dev libglu1-mesa-dev libgmp-dev libirrlicht-dev libjpeg-dev libjsoncpp-dev libleveldb-dev libluajit-5.1-dev liblua5.1-dev libogg-dev libopenal-dev libpng-dev libpq-dev libhiredis-dev libspatialindex-dev libsqlite3-dev libvorbis-dev libx11-dev libxxf86vm-dev postgresql-server-dev-all libpq-dev libhiredis-dev zlib1g-dev doxygen libxrandr-dev mesa-common-dev x11proto-xf86vidmode-dev libzstd-dev
|
|
|
|
|
2017-04-21 10:22:20 +02:00
|
|
|
# Xenial
|
|
|
|
|
2017-04-08 10:19:07 +02:00
|
|
|
build:ubuntu-16.04:
|
2023-09-13 02:18:13 -04:00
|
|
|
extends: .build_template
|
2017-04-21 10:22:20 +02:00
|
|
|
image: ubuntu:xenial
|
2023-09-13 02:18:13 -04:00
|
|
|
before_script:
|
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake pkg-config libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev
|
|
|
|
|
|
|
|
# Bionic
|
|
|
|
|
|
|
|
build:ubuntu-18.04:
|
|
|
|
extends: .build_template
|
|
|
|
image: ubuntu:bionic
|
|
|
|
before_script:
|
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake pkg-config libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev
|
|
|
|
|
|
|
|
# Focal
|
|
|
|
|
|
|
|
build:ubuntu-20.04:
|
|
|
|
extends: .build_template
|
|
|
|
image: ubuntu:focal
|
|
|
|
before_script:
|
|
|
|
- echo "" > /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "APT::Get::AllowUnauthenticated \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowDowngradeToInsecureRepositories \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::AllowReleaseInfoChange::Suite \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Check-Valid-Until \"false\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Acquire::Languages \"en\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> /etc/apt/apt.conf.d/50venenuxcustom
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake pkg-config libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev
|
|
|
|
|
|
|
|
# jammy
|
|
|
|
|
|
|
|
build:ubuntu-22.04:
|
|
|
|
extends: .build_template
|
|
|
|
image: ubuntu:jammy
|
|
|
|
before_script:
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake pkg-config libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev
|
2017-04-21 10:22:20 +02:00
|
|
|
|
2017-04-08 10:19:07 +02:00
|
|
|
##
|
|
|
|
## Fedora
|
|
|
|
##
|
2017-04-21 10:22:20 +02:00
|
|
|
|
2023-09-13 02:18:13 -04:00
|
|
|
# Fedora 28 <-> RHEL 8
|
|
|
|
build:fedora-28:
|
|
|
|
extends: .build_template
|
|
|
|
image: fedora:28
|
2017-04-08 10:19:07 +02:00
|
|
|
before_script:
|
2023-09-13 02:18:13 -04:00
|
|
|
- dnf -y install make automake gcc gcc-c++ kernel-devel git cmake pkgconfig libidn-devel libcurl-devel openal-soft-devel libvorbis-devel libXxf86vm-devel libogg-devel freetype-devel mesa-libGL-devel zlib-devel jsoncpp-devel irrlicht-devel gmp-devel sqlite-devel luajit-devel leveldb-devel ncurses-devel spatialindex-devel
|
|
|
|
|
|
|
|
# Fedora 36
|
|
|
|
build:fedora-36:
|
|
|
|
extends: .build_template
|
|
|
|
image: fedora:36
|
|
|
|
before_script:
|
|
|
|
- dnf -y install make automake gcc gcc-c++ kernel-devel git cmake pkgconfig libidn-devel bzip2-devel gettext-devel sqlite-devel zlib-devel libpng-devel libjpeg-turbo-devel libXxf86vm-devel mesa-libGL-devel irrlicht-devel desktop-file-utils systemd openal* libvorbis* jsoncpp-devel libcurl-devel libcurl luajit-devel leveldb-devel gmp-devel libappstream-glib freetype-devel spatialindex-devel openssl-devel libogg-devel libpq-devel hiredis-devel libzstd-devel libXi-devel ncurses-devel doxygen
|
|
|
|
|
|
|
|
# Fedora 37
|
|
|
|
build:fedora-37:
|
|
|
|
extends: .build_template
|
|
|
|
image: fedora:37
|
|
|
|
before_script:
|
|
|
|
- dnf -y install make automake gcc gcc-c++ kernel-devel git cmake pkgconfig libidn-devel bzip2-devel gettext-devel sqlite-devel zlib-devel libpng-devel libjpeg-turbo-devel libXxf86vm-devel mesa-libGL-devel irrlicht-devel desktop-file-utils systemd openal* libvorbis* jsoncpp-devel libcurl-devel libcurl luajit-devel leveldb-devel gmp-devel libappstream-glib freetype-devel spatialindex-devel openssl-devel libogg-devel libpq-devel hiredis-devel libzstd-devel libXi-devel ncurses-devel doxygen
|
|
|
|
|
|
|
|
# Fedora 38
|
|
|
|
build:fedora-38:
|
|
|
|
extends: .build_template
|
|
|
|
image: fedora:38
|
|
|
|
before_script:
|
|
|
|
- dnf -y install make automake gcc gcc-c++ kernel-devel git cmake pkgconfig libidn-devel bzip2-devel gettext-devel sqlite-devel zlib-devel libpng-devel libjpeg-turbo-devel libXxf86vm-devel mesa-libGL-devel irrlicht-devel desktop-file-utils systemd openal* libvorbis* jsoncpp-devel libcurl-devel libcurl luajit-devel leveldb-devel gmp-devel libappstream-glib freetype-devel spatialindex-devel openssl-devel libogg-devel libpq-devel hiredis-devel libzstd-devel libXi-devel ncurses-devel doxygen
|
|
|
|
|