2017-04-08 10:19:07 +02:00
|
|
|
---
|
2024-05-30 15:45:19 -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
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
.build_template: &build_definition
|
2017-04-08 10:19:07 +02:00
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- mkdir cmakebuild
|
2024-05-30 15:45:19 -04:00
|
|
|
- mkdir -p artifact/multicraft/usr/
|
2017-04-08 10:19:07 +02:00
|
|
|
- cd cmakebuild
|
2024-05-31 15:47:46 -04:00
|
|
|
- cmake -DCMAKE_INSTALL_PREFIX=../artifact/multicraft/usr/ -DBUILD_SERVER=ON -DBUILD_CLIENT=ON -DRUN_IN_PLACE=OFF -DENABLE_CURL=ON -DENABLE_SOUND=ON -DENABLE_LUAJIT=ON -DENABLE_GETTEXT=ON -DENABLE_FREETYPE=ON -DENABLE_SYSTEM_GMP=ON -DENABLE_SYSTEM_JSONCPP=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_POSTGRESQL=ON ..
|
2024-05-30 15:45:19 -04:00
|
|
|
- make -j$(nproc)
|
2017-04-08 10:19:07 +02:00
|
|
|
- make install
|
|
|
|
artifacts:
|
|
|
|
when: on_success
|
2024-05-30 15:45:19 -04:00
|
|
|
expire_in: 1d
|
2017-04-08 10:19:07 +02:00
|
|
|
paths:
|
|
|
|
- artifact/*
|
|
|
|
|
|
|
|
##
|
2024-05-30 15:45:19 -04:00
|
|
|
## Debian mother of many distros
|
2017-04-08 10:19:07 +02:00
|
|
|
##
|
2017-04-21 10:22:20 +02:00
|
|
|
|
2024-05-30 17:33:25 -04:00
|
|
|
# Jessie
|
|
|
|
|
|
|
|
build:debian-8:
|
|
|
|
<<: *build_definition
|
|
|
|
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
|
|
|
|
- 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
|
2024-05-31 16:19:13 -04:00
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install build-essential 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 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 postgresql-server-dev-all libhiredis-dev zlib1g-dev doxygen libxrandr-dev x11proto-xf86vidmode-dev
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -t jessie-backports install libjsoncpp-dev
|
2024-05-30 17:33:25 -04:00
|
|
|
|
2017-04-21 10:22:20 +02:00
|
|
|
# Stretch
|
|
|
|
|
2017-04-08 10:19:07 +02:00
|
|
|
build:debian-9:
|
2024-05-30 15:45:19 -04:00
|
|
|
<<: *build_definition
|
2017-04-08 10:19:07 +02:00
|
|
|
image: debian:9
|
|
|
|
before_script:
|
2024-05-30 15:45:19 -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
|
2024-05-31 16:19:13 -04:00
|
|
|
- echo "deb http://archive.debian.org/debian/ stretch main contrib" > /etc/apt/sources.list.d/50debianoficial.list
|
2024-05-30 17:03:27 -04:00
|
|
|
- echo "deb http://deb.freexian.com/extended-lts stretch main contrib non-free" > /etc/apt/sources.list
|
2024-05-30 16:53:39 -04:00
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y || true
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install build-essential 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 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-08 10:19:07 +02:00
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
# Bullseye
|
2017-04-21 10:22:20 +02:00
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
build:debian-11:
|
|
|
|
<<: *build_definition
|
|
|
|
image: debian:11
|
2020-04-09 20:46:06 +02:00
|
|
|
before_script:
|
2024-05-30 15:45:19 -04:00
|
|
|
- apt-get update -y || true
|
2024-05-31 15:47:46 -04:00
|
|
|
- apt-get -y install build-essential 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 libjsoncpp-dev libleveldb-dev libluajit-5.1-dev liblua5.1-dev libogg-dev libopenal-dev libpng-dev libpq-dev postgresql-server-dev-all 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
|
2021-01-02 15:43:35 +01:00
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
# Bookworm
|
2017-04-21 10:22:20 +02:00
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
build:debian-12:
|
|
|
|
<<: *build_definition
|
|
|
|
image: debian:12
|
|
|
|
before_script:
|
|
|
|
- apt-get update -y || true
|
|
|
|
- apt-get -y install build-essential 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 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-06-08 16:30:30 +02:00
|
|
|
|
|
|
|
##
|
2024-05-30 15:45:19 -04:00
|
|
|
## winbuntu the distro for stupid users
|
2017-06-08 16:30:30 +02:00
|
|
|
##
|
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
build:ubuntu-22.04:
|
|
|
|
<<: *build_definition
|
2024-05-30 16:45:07 -04:00
|
|
|
image: ubuntu:jammy
|
2024-05-30 15:45:19 -04:00
|
|
|
before_script:
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential cmake pkg-config debhelper lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-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 zlib1g-dev doxygen libxrandr-dev mesa-common-dev x11proto-xf86vidmode-dev libzstd-dev
|
2021-01-02 15:43:35 +01:00
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
# Focal most close to bullseye
|
2017-06-08 16:30:30 +02:00
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
build:ubuntu-20.04:
|
|
|
|
<<: *build_definition
|
|
|
|
image: ubuntu:focal
|
|
|
|
before_script:
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get update -y
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential cmake pkg-config debhelper lsb-release gettext libbz2-dev libcurl4-gnutls-dev libnl-genl-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 zlib1g-dev doxygen libxrandr-dev mesa-common-dev x11proto-xf86vidmode-dev libzstd-dev
|
2018-12-12 00:00:08 +01:00
|
|
|
|
2024-05-30 16:45:07 -04:00
|
|
|
# yakkety most close to jessie
|
2021-01-02 15:43:35 +01:00
|
|
|
|
2024-05-30 16:45:07 -04:00
|
|
|
build:ubuntu-16.10:
|
2024-05-30 15:45:19 -04:00
|
|
|
<<: *build_definition
|
2024-05-30 16:45:07 -04:00
|
|
|
image: ubuntu:yakkety
|
2024-05-30 15:45:19 -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
|
|
|
|
- rm -rf /etc/apt/sources.list
|
2024-05-30 16:45:07 -04:00
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu/ yakkety main restricted universe multiverse" > /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu/ yakkety-updates main restricted universe multiverse" >> /etc/apt/sources.list.d/50debianoficial.list
|
|
|
|
- echo "deb http://old-releases.ubuntu.com/ubuntu yakkety-security main restricted universe multiverse" >> /etc/apt/sources.list.d/50debianoficial.list
|
2024-05-30 15:45:19 -04:00
|
|
|
- apt-get update -y || true
|
|
|
|
- apt-get -y --force-yes install build-essential 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 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
|
|
|
|
|
|
|
|
# Zesty most close to stretch
|
|
|
|
|
|
|
|
build:ubuntu-17.04:
|
|
|
|
<<: *build_definition
|
|
|
|
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
|
|
|
|
- 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
|
|
|
|
- apt-get update -y || true
|
|
|
|
- apt-get -y --force-yes install build-essential cmake pkg-config 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
|
2019-04-12 08:29:29 -04:00
|
|
|
|
2021-01-02 15:43:35 +01:00
|
|
|
##
|
2024-05-30 15:45:19 -04:00
|
|
|
## Feladora shit distro
|
2021-01-02 15:43:35 +01:00
|
|
|
##
|
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
build:fedora-36:
|
|
|
|
<<: *build_definition
|
|
|
|
image: fedora:36
|
2019-04-12 08:29:29 -04:00
|
|
|
before_script:
|
2024-05-31 17:08:46 -04:00
|
|
|
- dnf -y install make automake gcc gcc-c++ kernel-devel cmake pkgconfig 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 hiredis-devel libzstd-devel libXi-devel ncurses-devel doxygen
|
2021-01-02 15:43:35 +01:00
|
|
|
|
2024-05-30 15:45:19 -04:00
|
|
|
build:fedora-37:
|
|
|
|
<<: *build_definition
|
|
|
|
image: fedora:37
|
2020-11-15 17:38:04 +01:00
|
|
|
before_script:
|
2024-05-31 17:08:46 -04:00
|
|
|
- dnf -y install make automake gcc gcc-c++ kernel-devel cmake pkgconfig 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 hiredis-devel libzstd-devel libXi-devel ncurses-devel doxygen
|