Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d8f4c45fd
|
||
|
|
ab128b800a
|
@@ -70,16 +70,38 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
shell: powershell
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
$ErrorActionPreference = "Stop"
|
set -euxo pipefail
|
||||||
|
|
||||||
rustup update stable
|
RUST_VERSION="1.98.1"
|
||||||
rustup default stable
|
|
||||||
rustup target add x86_64-pc-windows-msvc
|
|
||||||
|
|
||||||
rustc --version
|
rm -f /tmp/rustup-init
|
||||||
cargo --version
|
|
||||||
|
curl \
|
||||||
|
--fail \
|
||||||
|
--location \
|
||||||
|
--retry 5 \
|
||||||
|
--retry-delay 3 \
|
||||||
|
--retry-all-errors \
|
||||||
|
--connect-timeout 20 \
|
||||||
|
https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init \
|
||||||
|
-o /tmp/rustup-init
|
||||||
|
|
||||||
|
chmod +x /tmp/rustup-init
|
||||||
|
|
||||||
|
/tmp/rustup-init \
|
||||||
|
-y \
|
||||||
|
--profile minimal \
|
||||||
|
--default-toolchain "${RUST_VERSION}" \
|
||||||
|
--default-host x86_64-unknown-linux-gnu \
|
||||||
|
--no-modify-path
|
||||||
|
|
||||||
|
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||||
|
|
||||||
|
"$HOME/.cargo/bin/rustc" --version
|
||||||
|
"$HOME/.cargo/bin/cargo" --version
|
||||||
|
"$HOME/.cargo/bin/rustup" --version
|
||||||
|
|
||||||
|
|
||||||
- name: Show build tools
|
- name: Show build tools
|
||||||
@@ -357,6 +379,98 @@ jobs:
|
|||||||
-name 'libfido2*' \
|
-name 'libfido2*' \
|
||||||
-print
|
-print
|
||||||
|
|
||||||
|
- name: Install modern PipeWire
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
set -euxo pipefail
|
||||||
|
|
||||||
|
PIPEWIRE_VERSION="1.0.5"
|
||||||
|
|
||||||
|
rm -rf /tmp/pipewire
|
||||||
|
|
||||||
|
git clone \
|
||||||
|
--depth 1 \
|
||||||
|
--branch "${PIPEWIRE_VERSION}" \
|
||||||
|
https://github.com/PipeWire/pipewire.git \
|
||||||
|
/tmp/pipewire
|
||||||
|
|
||||||
|
meson setup \
|
||||||
|
/tmp/pipewire/build \
|
||||||
|
/tmp/pipewire \
|
||||||
|
--prefix=/usr/local \
|
||||||
|
--libdir=lib/x86_64-linux-gnu \
|
||||||
|
--buildtype=release \
|
||||||
|
-Ddocs=disabled \
|
||||||
|
-Dman=disabled \
|
||||||
|
-Dexamples=disabled \
|
||||||
|
-Dtests=disabled \
|
||||||
|
-Dinstalled_tests=disabled \
|
||||||
|
-Dsession-managers=[] \
|
||||||
|
-Dgstreamer=disabled \
|
||||||
|
-Dsystemd=disabled \
|
||||||
|
-Dselinux=disabled \
|
||||||
|
-Dpipewire-jack=disabled \
|
||||||
|
-Dpipewire-v4l2=disabled \
|
||||||
|
-Dbluez5=disabled \
|
||||||
|
-Djack=disabled \
|
||||||
|
-Dv4l2=disabled \
|
||||||
|
-Dlibcamera=disabled \
|
||||||
|
-Dvulkan=disabled \
|
||||||
|
-Dsdl2=disabled \
|
||||||
|
-Dlibmysofa=disabled \
|
||||||
|
-Droc=disabled \
|
||||||
|
-Davahi=disabled \
|
||||||
|
-Decho-cancel-webrtc=disabled \
|
||||||
|
-Dlibusb=disabled \
|
||||||
|
-Draop=disabled \
|
||||||
|
-Dlv2=disabled \
|
||||||
|
-Dlibcanberra=disabled \
|
||||||
|
-Dlibffado=disabled
|
||||||
|
|
||||||
|
meson compile \
|
||||||
|
-C /tmp/pipewire/build \
|
||||||
|
-j "$(nproc)"
|
||||||
|
|
||||||
|
meson install \
|
||||||
|
-C /tmp/pipewire/build
|
||||||
|
|
||||||
|
ldconfig
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig"
|
||||||
|
|
||||||
|
echo "=== PipeWire ==="
|
||||||
|
|
||||||
|
pkg-config \
|
||||||
|
--modversion \
|
||||||
|
libpipewire-0.3
|
||||||
|
|
||||||
|
pkg-config \
|
||||||
|
--modversion \
|
||||||
|
libspa-0.2
|
||||||
|
|
||||||
|
echo "=== PipeWire CFLAGS ==="
|
||||||
|
|
||||||
|
pkg-config \
|
||||||
|
--cflags \
|
||||||
|
libpipewire-0.3
|
||||||
|
|
||||||
|
pkg-config \
|
||||||
|
--cflags \
|
||||||
|
libspa-0.2
|
||||||
|
|
||||||
|
echo "=== Checking headers ==="
|
||||||
|
|
||||||
|
grep -R \
|
||||||
|
"spa_meta_region_is_valid" \
|
||||||
|
/usr/local/include/spa-0.2/spa \
|
||||||
|
| head
|
||||||
|
|
||||||
|
echo "=== PipeWire libraries ==="
|
||||||
|
|
||||||
|
find /usr/local/lib \
|
||||||
|
\( -name 'libpipewire-0.3.so*' -o -name 'libspa*.so*' \) \
|
||||||
|
-print
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in new issue
Block a user