From a56e65187e4497bc87bf5d152464f75b38b1d7b5 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Mon, 8 Feb 2021 08:29:18 +0000 Subject: [PATCH] ci: Use Ubuntu Bionic for websocket-autobahn job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobahn testsuite is based on Python 2. See https://github.com/crossbario/autobahn-testsuite/issues/109. Temporarily use an Ubuntu LTS distro still having Python 2, this will make the job work for some years. Hoping in the future to either: - update Autobahn testsuite to Python 3; - finding another testsuite for websockets. Signed-off-by: Frediano Ziglio Acked-by: Marc-André Lureau --- .gitlab-ci.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e7594f43..7d3ba538 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -164,12 +164,24 @@ makecheck-windows: - mingw64-make LOG_COMPILE=wine -C server check || (cat server/tests/test-suite.log && exit 1) websocket-autobahn: + before_script: + - apt-get update -y + - > + apt-get install -y + debhelper + gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good + gstreamer1.0-plugins-ugly gstreamer1.0-tools + libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev + libcacard-dev libglib2.0-dev + libjpeg-dev liblz4-dev libopus-dev libpixman-1-dev libsasl2-dev + libssl-dev pkg-config + python3-six python3-pyparsing liborc-0.4-dev git + g++ autoconf-archive python-pip + python3 python3-pip python3-setuptools python3-wheel ninja-build + - pip3 install meson + - *protocol + image: ubuntu:bionic script: - - > - dnf install python27 python-unversioned-command curl - -y - - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py - - python2 get-pip.py - pip2 install autobahntestsuite - wstest -a - git clean -fdx