From 55dbddded11691ece499370b49215011d3c867f0 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Tue, 12 Mar 2024 21:33:23 +0100 Subject: 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. --- .gitlab-ci.yml | 13 ++++++++----- 1 file 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 -- cgit v1.2.3-60-g2f50