summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-12 21:33:23 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-13 09:39:50 +0100
commit55dbddded11691ece499370b49215011d3c867f0 (patch)
tree649d2477a8dcba06570fc0e40dfe9b4484ad8a46
parent9ae6062150d7df2f64a5962a7871d26b47d291b5 (diff)
downloadmana-55dbddded11691ece499370b49215011d3c867f0.tar.gz
mana-55dbddded11691ece499370b49215011d3c867f0.tar.bz2
mana-55dbddded11691ece499370b49215011d3c867f0.tar.xz
mana-55dbddded11691ece499370b49215011d3c867f0.zip
CI: Ensure we can compile on Ubuntu 20.04 as well
Using DEBIAN_FRONTEND=noninteractive to avoid a timezone related prompt on Ubuntu 20.04. Also switched to apt-get, to avoid a warning about the CLI interface not being stable.
-rw-r--r--.gitlab-ci.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a9ed7a6..0b0ec2e3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,17 @@
stages:
- build
-default:
- image: ubuntu:22.04
-
ubuntu-build:
stage: build
+ parallel:
+ matrix:
+ - UBUNTU_VERSION: "20.04"
+ - UBUNTU_VERSION: "22.04"
+ image: ubuntu:$UBUNTU_VERSION
script:
- - apt update
- - apt install -y
+ - export DEBIAN_FRONTEND=noninteractive
+ - apt-get update
+ - apt-get install -y
build-essential
cmake
gettext