#!/usr/bin/env bash # Shared with .gitea/workflows/build.yml and .gitea/workflows/release.yml -- # this is the actual Linux configure/build/test/verify sequence. Edit once, # here, so both workflows stay in sync instead of drifting copies. # # Linux keeps its distribution libobs; the buildspec bootstrap (macOS/Windows) # is for the two platforms that have no such package. set -euo pipefail cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTPLUGIN_BOOTSTRAP_OBS=OFF cmake --build build ctest --test-dir build --output-on-failure # Show what was built ls -la build/package/bin/64bit build/package/data/locale build/package/licenses ldd build/package/bin/64bit/streamer-tools-camera.so | grep -E 'obs|livekit' nm -D build/package/bin/64bit/streamer-tools-camera.so | grep -E ' T obs_module_(load|unload)'