gitlab-ci: Use Debian packages instead of pip ones for meson and scons
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 3 Apr 2019 10:23:51 +0000 (12:23 +0200)
committerMichel Dänzer <michel@daenzer.net>
Tue, 16 Apr 2019 08:41:07 +0000 (10:41 +0200)
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci.yml
.gitlab-ci/debian-install.sh

index a77c4037fa926fe574369c9cdac856f7ff42bc2f..3a53fae7f60d43cb703854b4cef147b596a9255e 100644 (file)
@@ -104,7 +104,7 @@ debian:
     - cd _build
     - meson configure
     - ninja -j4
-    - ninja test
+    - LC_ALL=C.UTF-8 ninja test
 
 .scons-build:
   extends: .build
index 4b7df61cb4b0f742e307224616465e9a766b6e93..9275c34ebf0a6bf10351ad38c4eb711a94be6c5c 100644 (file)
@@ -56,15 +56,10 @@ apt-get install -y -t stretch-backports \
       libelf-dev \
       libunwind8-dev \
       libglvnd-dev \
-      python2.7 \
-      python-pip \
-      python-setuptools \
-      python-wheel \
-      python3.5 \
-      python3-pip \
-      python3-setuptools \
-      python3-wheel \
-      ninja-build
+      python-mako \
+      python3-mako \
+      meson \
+      scons
 
 apt-get install -y \
       libxcb-randr0
@@ -156,12 +151,6 @@ wget $WAYLAND_RELEASES/$WAYLAND_PROTOCOLS_VERSION.tar.xz
 tar -xvf $WAYLAND_PROTOCOLS_VERSION.tar.xz && rm $WAYLAND_PROTOCOLS_VERSION.tar.xz
 (cd $WAYLAND_PROTOCOLS_VERSION && ./configure && make install) && rm -rf $WAYLAND_PROTOCOLS_VERSION
 
-pip3 install 'meson>=0.49'
-pip2 install 'scons>=2.4'
-
-pip2 install mako
-pip3 install mako
-
 # Use ccache to speed up builds
 apt-get install -y ccache