Skip to content

Commit

Permalink
CI: Build GStreamer for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Oct 19, 2024
1 parent 2da6f12 commit f46e8e5
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 deletions.
34 changes: 19 additions & 15 deletions .github/actions/gstreamer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
gst_version:
description: Version of GStreamer to Build
required: true
default: 1.22.12
default: 1.24.8
build_type:
description: Build Type "release" or "debug"
required: true
Expand Down Expand Up @@ -34,24 +34,27 @@ runs:
run: meson setup
--prefix=${{ inputs.install_directory }}
--buildtype=${{ inputs.build_type }}
--default-library=static
--wrap-mode=forcefallback
--strip
-Dauto_features=disabled
-Dgst-full-libraries=gstreamer,base,video,gl
--wrap_mode=forcefallback
-Dgst-full-libraries=base,video,gl
-Dgpl=enabled
-Dlibav=enabled
-Dorc=enabled
-Dbase=enabled
-Dvaapi=enabled
-Dqt6=enabled
-Dgst-plugins-base:gl=enabled
-Dgst-plugins-base:gl_platform=glx
-Dgst-plugins-base:gl_winsys=x11
-Dgst-plugins-base:gl_platform=glx,egl
-Dgst-plugins-base:gl_winsys=x11,egl,wayland
-Dgst-plugins-base:gl_api=opengl,gles2
-Dgst-plugins-base:x11=enabled
-Dgst-plugins-base:playback=enabled
-Dgst-plugins-base:tcp=enabled
-Dgst-plugins-base:app=enabled
-Dgood=enabled
-Dgst-plugins-good:qt6=enabled
-Dgst-plugins-good:qt-x11=enabled
-Dgst-plugins-good:qt-egl=enabled
-Dgst-plugins-good:qt-wayland=enabled
-Dgst-plugins-good:qt-method=auto
-Dgst-plugins-good:isomp4=enabled
-Dgst-plugins-good:matroska=enabled
Expand All @@ -66,17 +69,18 @@ runs:
-Dgst-plugins-bad:videoparsers=enabled
-Dgst-plugins-bad:sdp=enabled
-Dgst-plugins-bad:x11=enabled
-Dgst-plugins-bad:wayland=enabled
-Dgst-plugins-bad:va=enabled
-Dgst-plugins-bad:x265=enabled
-Dugly=enabled
-Dgst-plugins-ugly:x264=enabled
builddir
# -Dqt6=enabled
# --strip=true
# --default-library=static
# --prefer_static=true
# -Dauto_features=disabled
# -Dgst-full-target-type=static_library
# -Dgst-plugins-base:gl_platform=glx,egl
# -Dgst-plugins-base:gl_winsys=x11,egl,wayland
# -Dgst-plugins-good:qt-wayland=enabled
# -Dgst-plugins-good:qt-egl=enabled
# -Dgst-plugins-bad:xshm=enabled
# -Dgst-plugins-bad:wayland=enabled
# -Dgstreamer:gstreamer-static-full=true
shell: bash

- name: Compile GStreamer
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
env:
ARTIFACT: QGroundControl-x86_64.AppImage
QT_VERSION: 6.6.3
# GST_VERSION: 1.22.12
GST_VERSION: 1.22.12

steps:
- name: Free Disk Space (Ubuntu)
Expand All @@ -58,8 +58,6 @@ jobs:
sudo ./tools/setup/install-dependencies-debian.sh
python3 -m pip install --user ninja cmake
- uses: lukka/get-cmake@latest

- name: Install Vulkan
run: |
wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
Expand All @@ -81,8 +79,6 @@ jobs:
cd ccache-*-linux-x86_64
sudo make install
- uses: seanmiddleditch/gha-setup-ninja@v5

- name: Set Up Cache
uses: hendrikmuhs/[email protected]
with:
Expand All @@ -108,6 +104,15 @@ jobs:
# - name: Build GStreamer
# uses: ./.github/actions/gstreamer

- name: Install GStreamer
uses: blinemedical/setup-gstreamer@v1
with:
version: ${{ env.GST_VERSION }}

- uses: lukka/get-cmake@latest

- uses: seanmiddleditch/gha-setup-ninja@v5

- run: mkdir ${{ runner.temp }}/shadow_build_dir

- name: Configure
Expand Down

0 comments on commit f46e8e5

Please sign in to comment.