ci: remove system meson before installing the pip one
authorEric Engestrom <eric@engestrom.ch>
Mon, 22 Aug 2022 16:40:09 +0000 (17:40 +0100)
committerEric Engestrom <eric@engestrom.ch>
Mon, 22 Aug 2022 16:40:42 +0000 (17:40 +0100)
Reviewed-by: Simon Ser <contact@emersion.fr>
.gitlab-ci/debian-install.sh

index ab90136..d50dc61 100644 (file)
@@ -26,14 +26,18 @@ EOF
 
 apt-get dist-upgrade -y
 
+EPHEMERAL="
+  meson \
+  "
+
 apt-get install -y --no-remove \
+  $EPHEMERAL \
   build-essential \
   docbook-xsl \
   libatomic-ops-dev \
   libcairo2-dev \
   libcunit1-dev \
   libpciaccess-dev \
-  meson \
   ninja-build \
   pkg-config \
   python3 \
@@ -61,6 +65,7 @@ for arch in ${CROSS_ARCHITECTURES[@]}; do
   fi
 done
 
+apt-get purge -y $EPHEMERAL
 
 # Test that the oldest Meson version we claim to support is still supported
 pip3 install meson==0.46