mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-02 22:52:26 +00:00
ci: Use Ubuntu Bionic for websocket-autobahn job
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 <freddy77@gmail.com> Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
9af2193f2c
commit
a56e65187e
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user