aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-01-05 09:01:58 +0100
committerGitHub <noreply@github.com>2024-01-05 08:01:58 +0000
commit7fa4ea9740edccc93672d8cc428f6e9d4575a036 (patch)
treec45393c502ba740128e94991bf923dfc7cc95432 /.github
parentc219204084b8f8a747ebd37ec75472c1b7e97411 (diff)
downloadservo-7fa4ea9740edccc93672d8cc428f6e9d4575a036.tar.gz
servo-7fa4ea9740edccc93672d8cc428f6e9d4575a036.zip
Upgrade media / GStreamer / GLib (#30750)
- Upgrade the version of GStreamer for Windows This upgrades the Windows build to use the most recent version of GStreamer. This is necessary to upgrade our GStreamer dependency. - Stop shipping GStreamer binaries on Linux The binary bundle of GStreamer that we package is not used to compile -- only to run layout tests. It's too old for the APIs that we are using (as evidenced by needed 1.18 for WebRTC) and nowadays Linux distributions carry a new version so it's unecessary for our build machines. No longer using this binary bundle will allow us to upgrade our GStreamer dependency -- which now has stricter checks that we are using at least version 1.18. - Upgrade media to use newer versions of GStreamer / GLib dependencies
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linux-wpt.yml18
-rw-r--r--.github/workflows/linux.yml4
2 files changed, 7 insertions, 15 deletions
diff --git a/.github/workflows/linux-wpt.yml b/.github/workflows/linux-wpt.yml
index e7664a2ec4e..8a83166a561 100644
--- a/.github/workflows/linux-wpt.yml
+++ b/.github/workflows/linux-wpt.yml
@@ -21,6 +21,7 @@ env:
RUST_BACKTRACE: 1
SHELL: /bin/bash
WPT_COMMAND_LINE_ARG: "${{ inputs.wpt-layout == 'layout-2013' && '--legacy-layout' || '' }}"
+ GST_PLUGIN_FEATURE_RANK: pulsesink:NONE,alsasink:NONE,jacksink:NONE,fakesink:MAX
jobs:
linux-wpt:
@@ -48,25 +49,14 @@ jobs:
with:
name: release-binary
path: release-binary
- - name: Cache libffi
- id: cache
- uses: actions/cache@v3
- with:
- path: ./libffi6_3.2.1-8_amd64.deb
- key: cache-libffi
- - name: Download libffi
- if: steps.cache.outputs.cache-hit != 'true'
- run: |
- wget http://mirrors.kernel.org/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb
- name: unPackage binary
run: tar -xzf release-binary/target.tar.gz
- - name: Prep test environment
+ - name: Bootstrap dependencies
run: |
python3 -m pip install --upgrade pip
sudo apt update
- sudo apt install -qy --no-install-recommends libgl1 libssl1.1 libdbus-1-3 libxcb-xfixes0-dev libxcb-shape0-dev libunwind8 libgl1-mesa-dri mesa-vulkan-drivers libegl1-mesa
- sudo apt install ./libffi6_3.2.1-8_amd64.deb
- python3 ./mach bootstrap-gstreamer
+ sudo apt install -qy --no-install-recommends mesa-vulkan-drivers
+ python3 ./mach bootstrap
- name: Sync from upstream WPT
if: ${{ inputs.wpt-sync-from-upstream }}
run: |
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 0a3f412a049..c4b3ee32417 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -96,7 +96,9 @@ jobs:
- name: Bootstrap Python
run: python3 -m pip install --upgrade pip
- name: Bootstrap dependencies
- run: sudo apt update && python3 ./mach bootstrap
+ run: |
+ sudo apt update
+ python3 ./mach bootstrap
- name: Tidy
run: python3 ./mach test-tidy --no-progress --all
- name: Build (${{ inputs.profile }})