mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
ci: Update fedora base image to f40
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
This commit is contained in:
parent
14c1bedb45
commit
d9c35760b8
6 changed files with 37 additions and 49 deletions
|
@ -1,9 +1,9 @@
|
||||||
include:
|
include:
|
||||||
- project: 'freedesktop/ci-templates'
|
- project: 'freedesktop/ci-templates'
|
||||||
ref: "801093be0b88f23c8dbabe9cfce7134548f7ccdc"
|
ref: "3826695f80807d8a4d999f6b6efb3d405d708db9"
|
||||||
file: '/templates/fedora.yml'
|
file: '/templates/fedora.yml'
|
||||||
- project: 'freedesktop/ci-templates'
|
- project: 'freedesktop/ci-templates'
|
||||||
ref: "801093be0b88f23c8dbabe9cfce7134548f7ccdc"
|
ref: "3826695f80807d8a4d999f6b6efb3d405d708db9"
|
||||||
file: '/templates/debian.yml'
|
file: '/templates/debian.yml'
|
||||||
###
|
###
|
||||||
# IMPORTANT
|
# IMPORTANT
|
||||||
|
@ -130,8 +130,8 @@ trigger:
|
||||||
.fedora image:
|
.fedora image:
|
||||||
variables:
|
variables:
|
||||||
CCACHE_DIR: '/cache/gstreamer/gstreamer/ccache/'
|
CCACHE_DIR: '/cache/gstreamer/gstreamer/ccache/'
|
||||||
FDO_BASE_IMAGE: 'registry.fedoraproject.org/fedora-toolbox:34'
|
FDO_BASE_IMAGE: 'registry.fedoraproject.org/fedora-toolbox:40'
|
||||||
FDO_DISTRIBUTION_VERSION: '34'
|
FDO_DISTRIBUTION_VERSION: '40'
|
||||||
FDO_REPO_SUFFIX: "$FEDORA_AMD64_SUFFIX"
|
FDO_REPO_SUFFIX: "$FEDORA_AMD64_SUFFIX"
|
||||||
FDO_DISTRIBUTION_TAG: "$FEDORA_TAG-$GST_UPSTREAM_BRANCH"
|
FDO_DISTRIBUTION_TAG: "$FEDORA_TAG-$GST_UPSTREAM_BRANCH"
|
||||||
FDO_DISTRIBUTION_EXEC: 'GIT_BRANCH=$CI_COMMIT_REF_NAME GIT_URL=$CI_REPOSITORY_URL bash ci/docker/fedora/prepare.sh'
|
FDO_DISTRIBUTION_EXEC: 'GIT_BRANCH=$CI_COMMIT_REF_NAME GIT_URL=$CI_REPOSITORY_URL bash ci/docker/fedora/prepare.sh'
|
||||||
|
@ -441,7 +441,6 @@ build fedora clang:
|
||||||
BUILD_GST_DEBUG: ["-Dgstreamer:gst_debug=true", "-Dgstreamer:gst_debug=false"]
|
BUILD_GST_DEBUG: ["-Dgstreamer:gst_debug=true", "-Dgstreamer:gst_debug=false"]
|
||||||
MESON_ARGS: >-
|
MESON_ARGS: >-
|
||||||
${SIMPLE_BUILD}
|
${SIMPLE_BUILD}
|
||||||
--force-fallback-for=glib
|
|
||||||
|
|
||||||
- BUILD_TYPE: ["--default-library=static"]
|
- BUILD_TYPE: ["--default-library=static"]
|
||||||
BUILD_GST_DEBUG: ["-Dgstreamer:gst_debug=true", "-Dgstreamer:gst_debug=false"]
|
BUILD_GST_DEBUG: ["-Dgstreamer:gst_debug=true", "-Dgstreamer:gst_debug=false"]
|
||||||
|
@ -457,7 +456,6 @@ build fedora clang:
|
||||||
-Dpython=disabled
|
-Dpython=disabled
|
||||||
-Ddoc=disabled
|
-Ddoc=disabled
|
||||||
-Dgstreamer-sharp:tests=disabled
|
-Dgstreamer-sharp:tests=disabled
|
||||||
--force-fallback-for=glib
|
|
||||||
|
|
||||||
build debian x86_64:
|
build debian x86_64:
|
||||||
extends:
|
extends:
|
||||||
|
|
|
@ -4,18 +4,25 @@ bat
|
||||||
bison
|
bison
|
||||||
busybox
|
busybox
|
||||||
ccache
|
ccache
|
||||||
|
clang-analyzer
|
||||||
clang-devel
|
clang-devel
|
||||||
|
clang-tidy-sarif
|
||||||
|
clang-tools-extra-devel
|
||||||
cmake
|
cmake
|
||||||
curl
|
curl
|
||||||
dnf-plugins-core
|
dnf-plugins-core
|
||||||
elfutils
|
elfutils
|
||||||
elfutils-devel
|
elfutils-devel
|
||||||
faac-devel
|
faac-devel
|
||||||
|
fdk-aac
|
||||||
|
fdk-aac-devel
|
||||||
ffmpeg
|
ffmpeg
|
||||||
ffmpeg-devel
|
ffmpeg-devel
|
||||||
ffmpeg-libs
|
ffmpeg-libs
|
||||||
flex
|
flex
|
||||||
flite-devel
|
flite-devel
|
||||||
|
fluidsynth
|
||||||
|
fluidsynth-devel
|
||||||
gcc
|
gcc
|
||||||
gcc-c++
|
gcc-c++
|
||||||
gdb
|
gdb
|
||||||
|
@ -80,7 +87,6 @@ python3-devel
|
||||||
python3-gobject
|
python3-gobject
|
||||||
python3-pip
|
python3-pip
|
||||||
python3-wheel
|
python3-wheel
|
||||||
qconf
|
|
||||||
qemu-system-x86
|
qemu-system-x86
|
||||||
qt5-linguist
|
qt5-linguist
|
||||||
qt5-qtbase-devel
|
qt5-qtbase-devel
|
||||||
|
@ -95,14 +101,21 @@ sbc-devel
|
||||||
SDL2-devel
|
SDL2-devel
|
||||||
srt-devel
|
srt-devel
|
||||||
srt-libs
|
srt-libs
|
||||||
toolbox-experience
|
svt-av1
|
||||||
|
svt-av1-devel
|
||||||
|
svt-hevc
|
||||||
|
svt-hevc-devel
|
||||||
|
svt-hevc-libs
|
||||||
|
svt-hevc-libs
|
||||||
|
svt-vp9
|
||||||
|
svt-vp9-devel
|
||||||
|
svt-vp9-libs
|
||||||
valgrind
|
valgrind
|
||||||
vulkan-devel
|
vulkan-devel
|
||||||
vulkan-loader
|
vulkan-loader
|
||||||
x264
|
x264
|
||||||
x264-devel
|
x264-devel
|
||||||
x265
|
|
||||||
x264-devel
|
x264-devel
|
||||||
xorg-x11-server-utils
|
x265
|
||||||
xorg-x11-server-Xvfb
|
xorg-x11-server-Xvfb
|
||||||
xset
|
xset
|
||||||
|
|
|
@ -13,23 +13,25 @@ sudo dnf install -y \
|
||||||
"https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm"
|
"https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm"
|
||||||
|
|
||||||
dnf upgrade -y && dnf distro-sync -y
|
dnf upgrade -y && dnf distro-sync -y
|
||||||
dnf install -y $(<./ci/docker/fedora/deps.txt)
|
|
||||||
|
|
||||||
# Install the dependencies of gstreamer
|
# Install the dependencies of gstreamer
|
||||||
dnf builddep -y gstreamer1 \
|
dnf builddep -y --skip-broken --allowerasing --best \
|
||||||
gstreamer1-plugins-base \
|
gstreamer1 \
|
||||||
gstreamer1-plugins-good \
|
|
||||||
gstreamer1-plugins-good-extras \
|
|
||||||
gstreamer1-plugins-good-qt \
|
|
||||||
gstreamer1-plugins-ugly \
|
|
||||||
gstreamer1-plugins-ugly-free \
|
|
||||||
gstreamer1-plugins-bad-free \
|
gstreamer1-plugins-bad-free \
|
||||||
gstreamer1-plugins-bad-free-extras \
|
gstreamer1-plugins-bad-free-extras \
|
||||||
gstreamer1-plugins-bad-freeworld \
|
gstreamer1-plugins-bad-freeworld \
|
||||||
gstreamer1-libav \
|
gstreamer1-plugins-base \
|
||||||
gstreamer1-rtsp-server \
|
gstreamer1-plugins-good \
|
||||||
gstreamer1-vaapi \
|
gstreamer1-plugins-good-extras \
|
||||||
python3-gstreamer1
|
gstreamer1-plugins-ugly \
|
||||||
|
gstreamer1-plugins-ugly-free \
|
||||||
|
gstreamer1-rtsp-server
|
||||||
|
|
||||||
|
dnf remove -y \
|
||||||
|
'ffmpeg-free*' \
|
||||||
|
'fdk-aac-free*'
|
||||||
|
|
||||||
|
dnf install -y $(<./ci/docker/fedora/deps.txt)
|
||||||
|
|
||||||
dnf remove -y meson -x ninja-build
|
dnf remove -y meson -x ninja-build
|
||||||
pip3 install meson hotdoc python-gitlab tomli junitparser
|
pip3 install meson hotdoc python-gitlab tomli junitparser
|
||||||
|
@ -46,6 +48,7 @@ debug_packages=$(rpm -qa | grep -v -i \
|
||||||
-e bluez \
|
-e bluez \
|
||||||
-e boost \
|
-e boost \
|
||||||
-e ccache \
|
-e ccache \
|
||||||
|
-e ceph \
|
||||||
-e clang \
|
-e clang \
|
||||||
-e cmake \
|
-e cmake \
|
||||||
-e colord \
|
-e colord \
|
||||||
|
@ -86,6 +89,7 @@ debug_packages=$(rpm -qa | grep -v -i \
|
||||||
-e qemu \
|
-e qemu \
|
||||||
-e qt5 \
|
-e qt5 \
|
||||||
-e qt6 \
|
-e qt6 \
|
||||||
|
-e sequoia \
|
||||||
-e spice \
|
-e spice \
|
||||||
-e sqlite \
|
-e sqlite \
|
||||||
-e suitesparse \
|
-e suitesparse \
|
||||||
|
@ -107,5 +111,4 @@ dnf debuginfo-install -y --best --allowerasing --skip-broken $debug_packages
|
||||||
echo "Removing DNF cache"
|
echo "Removing DNF cache"
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
|
||||||
rm -R /root/*
|
|
||||||
rm -rf /var/cache/dnf /var/log/dnf*
|
rm -rf /var/cache/dnf /var/log/dnf*
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
#! /bin/bash
|
|
||||||
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
# Install gdk-pixbuf manually as fedora 34 doesn't build the docs/.devhelp2
|
|
||||||
git clone --branch gdk-pixbuf-2-40 https://gitlab.gnome.org/GNOME/gdk-pixbuf.git
|
|
||||||
cd gdk-pixbuf
|
|
||||||
meson setup _build --prefix=/usr -Ddocs=true
|
|
||||||
meson install -C _build
|
|
||||||
cd ..
|
|
||||||
rm -rf gdk-pixbuf
|
|
|
@ -1,11 +0,0 @@
|
||||||
#! /bin/bash
|
|
||||||
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
# Install a more up to date wayland-protocols
|
|
||||||
git clone --branch 1.32 https://gitlab.freedesktop.org/wayland/wayland-protocols.git
|
|
||||||
cd wayland-protocols
|
|
||||||
meson setup _build --prefix=/usr -Dtests=false
|
|
||||||
meson install -C _build
|
|
||||||
cd ..
|
|
||||||
rm -rf wayland-protocols
|
|
|
@ -8,10 +8,6 @@ git config --global user.name "Gstbuild Runner"
|
||||||
|
|
||||||
bash ./ci/docker/fedora/install-deps.sh
|
bash ./ci/docker/fedora/install-deps.sh
|
||||||
|
|
||||||
bash ./ci/docker/fedora/install-gdk-pixbuf.sh
|
|
||||||
|
|
||||||
bash ./ci/docker/fedora/install-wayland-protocols.sh
|
|
||||||
|
|
||||||
bash ./ci/scripts/install-rust.sh
|
bash ./ci/scripts/install-rust.sh
|
||||||
|
|
||||||
bash ./ci/docker/fedora/virtme-fluster-setup.sh
|
bash ./ci/docker/fedora/virtme-fluster-setup.sh
|
||||||
|
|
Loading…
Reference in a new issue