diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2021-08-27 11:19:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 11:19:15 +0200 |
commit | a7188bd6f55993d9ca6075b0b6a462c1e7e06412 (patch) | |
tree | 824aac2fa2c2da22a45fb6afe678f10ecfd0946d /.gitlab-ci.yml | |
parent | ff3aa18436c54eb16c937774f8c9a20689fce5b3 (diff) | |
download | minetest-a7188bd6f55993d9ca6075b0b6a462c1e7e06412.tar.gz minetest-a7188bd6f55993d9ca6075b0b6a462c1e7e06412.tar.bz2 minetest-a7188bd6f55993d9ca6075b0b6a462c1e7e06412.zip |
Add debian 11 to Gitlab-CI (#11571)
* feat(gitlab-ci): add debian 11 support
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d335285d5..a99159934 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,6 +45,7 @@ variables: - sed -i 's/DATEPLACEHOLDER/'$(date +%y.%m.%d)'/g' build/deb/minetest/DEBIAN/control - sed -i 's/JPEG_PLACEHOLDER/'$JPEG_PKG'/g' build/deb/minetest/DEBIAN/control - sed -i 's/LEVELDB_PLACEHOLDER/'$LEVELDB_PKG'/g' build/deb/minetest/DEBIAN/control + - sed -i 's/JSONCPP_PLACEHOLDER/'$JSONCPP_PKG'/g' build/deb/minetest/DEBIAN/control - cd build/deb/ && dpkg-deb -b minetest/ && mv minetest.deb ../../ artifacts: expire_in: 90 day @@ -54,7 +55,7 @@ variables: .debpkg_install: stage: deploy before_script: - - apt-get update + - apt-get update -qy script: - apt-get install -y ./*.deb - minetest --version @@ -75,6 +76,7 @@ package:debian-9: needs: - build:debian-9 variables: + JSONCPP_PKG: libjsoncpp1 LEVELDB_PKG: libleveldb1v5 JPEG_PKG: libjpeg62-turbo @@ -96,6 +98,7 @@ package:debian-10: needs: - build:debian-10 variables: + JSONCPP_PKG: libjsoncpp1 LEVELDB_PKG: libleveldb1d JPEG_PKG: libjpeg62-turbo @@ -105,6 +108,28 @@ deploy:debian-10: needs: - package:debian-10 +# Bullseye + +build:debian-11: + extends: .build_template + image: debian:11 + +package:debian-11: + extends: .debpkg_template + image: debian:11 + needs: + - build:debian-11 + variables: + JSONCPP_PKG: libjsoncpp24 + LEVELDB_PKG: libleveldb1d + JPEG_PKG: libjpeg62-turbo + +deploy:debian-11: + extends: .debpkg_install + image: debian:11 + needs: + - package:debian-11 + ## ## Ubuntu ## @@ -121,6 +146,7 @@ package:ubuntu-16.04: needs: - build:ubuntu-16.04 variables: + JSONCPP_PKG: libjsoncpp1 LEVELDB_PKG: libleveldb1v5 JPEG_PKG: libjpeg-turbo8 @@ -142,6 +168,7 @@ package:ubuntu-18.04: needs: - build:ubuntu-18.04 variables: + JSONCPP_PKG: libjsoncpp1 LEVELDB_PKG: libleveldb1v5 JPEG_PKG: libjpeg-turbo8 |