[client] ci: build with PipeWire

This commit is contained in:
Quantum 2021-12-24 20:52:56 -05:00 committed by Geoffrey McRae
parent ebdc847ef1
commit 141d5d3731

View File

@ -18,6 +18,9 @@ jobs:
- name: Install libdecor PPA - name: Install libdecor PPA
run: sudo add-apt-repository ppa:christianrauch/libdecoration run: sudo add-apt-repository ppa:christianrauch/libdecoration
if: ${{ matrix.wayland_shell == 'libdecor' }} if: ${{ matrix.wayland_shell == 'libdecor' }}
- name: Install PipeWire repository
run: |
echo 'deb [trusted=yes] https://pipewire-ubuntu.quantum5.workers.dev ./' | sudo tee /etc/apt/sources.list.d/pipewire.list
- name: Update apt - name: Update apt
run: | run: |
sudo apt-get update sudo apt-get update
@ -29,6 +32,7 @@ jobs:
libgl-dev libgles-dev \ libgl-dev libgles-dev \
libx11-dev libxss-dev libxi-dev libxinerama-dev libxcursor-dev libxpresent-dev \ libx11-dev libxss-dev libxi-dev libxinerama-dev libxcursor-dev libxpresent-dev \
libwayland-dev wayland-protocols libxkbcommon-dev \ libwayland-dev wayland-protocols libxkbcommon-dev \
libpipewire-0.3-dev \
$([ '${{ matrix.wayland_shell }}' = libdecor ] && echo 'libdecor-dev libdbus-1-dev') \ $([ '${{ matrix.wayland_shell }}' = libdecor ] && echo 'libdecor-dev libdbus-1-dev') \
$([ '${{ matrix.compiler.cc }}' = clang ] && echo 'clang-tools') $([ '${{ matrix.compiler.cc }}' = clang ] && echo 'clang-tools')
sudo pip3 install pyenchant sudo pip3 install pyenchant
@ -44,7 +48,6 @@ jobs:
-DCMAKE_LINKER:FILEPATH=/usr/bin/ld \ -DCMAKE_LINKER:FILEPATH=/usr/bin/ld \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DENABLE_LIBDECOR=${{ matrix.wayland_shell == 'libdecor' }} \ -DENABLE_LIBDECOR=${{ matrix.wayland_shell == 'libdecor' }} \
-DENABLE_PIPEWIRE=0 \
.. ..
- name: Build client - name: Build client
run: | run: |