mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-08 11:33:03 +00:00
ci: Reuse code to install newer spice-protocol
Avoid duplications for these commands Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
e9dabf7c89
commit
a6c9e499fd
@ -10,10 +10,11 @@ before_script:
|
||||
gstreamer1-devel gstreamer1-plugins-base-devel
|
||||
dconf
|
||||
-y
|
||||
- git clone ${CI_REPOSITORY_URL/spice.git/spice-protocol.git}
|
||||
- meson --buildtype=release spice-protocol build-spice-protocol --prefix=/usr --werror
|
||||
- ninja -C build-spice-protocol install
|
||||
- rm -rf build-spice-protocol
|
||||
- &protocol >
|
||||
git clone ${CI_REPOSITORY_URL/spice.git/spice-protocol.git} &&
|
||||
meson --buildtype=release spice-protocol build-spice-protocol --prefix=/usr --werror &&
|
||||
ninja -C build-spice-protocol install &&
|
||||
rm -rf build-spice-protocol
|
||||
# This is a workaround for Fedora docker image, this will add some
|
||||
# missing configuration
|
||||
# '/org/gnome/system/location/enabled' is just the first key path
|
||||
@ -97,9 +98,7 @@ makecheck-centos:
|
||||
git-core python3-pyparsing python3-six python3
|
||||
meson
|
||||
-y
|
||||
- git clone ${CI_REPOSITORY_URL/spice.git/spice-protocol.git}
|
||||
- meson --buildtype=release spice-protocol build-spice-protocol --prefix=/usr --werror
|
||||
- ninja -C build-spice-protocol install
|
||||
- *protocol
|
||||
image: centos:latest
|
||||
script:
|
||||
- >
|
||||
@ -124,9 +123,7 @@ makecheck-debian32:
|
||||
libjpeg-dev liblz4-dev libopus-dev libpixman-1-dev libsasl2-dev
|
||||
libspice-protocol-dev libssl-dev pkg-config
|
||||
python3-six python3-pyparsing liborc-0.4-dev meson git
|
||||
- git clone ${CI_REPOSITORY_URL/spice.git/spice-protocol.git}
|
||||
- meson --buildtype=release spice-protocol build-spice-protocol --prefix=/usr --werror
|
||||
- ninja -C build-spice-protocol install
|
||||
- *protocol
|
||||
image: i386/debian:latest
|
||||
script:
|
||||
- >
|
||||
|
||||
Loading…
Reference in New Issue
Block a user