ci: build Linux on ubuntu-24.04 for pipewire 0.10, add sidecar placeholders

libspa 0.10.0 needs pipewire headers newer than ubuntu-22.04 ships (0.3.48),
which broke both the release build and the new CI cargo check on Linux. Build
the Linux leg on ubuntu-24.04 (pipewire 1.x). Also create empty sidecar
placeholders before cargo check so tauri-build path validation passes on
Windows without downloading the real ffmpeg/STT binaries.
This commit is contained in:
David Perov 2026-06-22 12:06:04 +03:00
parent b5c444eac5
commit d4f30e7659
2 changed files with 18 additions and 2 deletions

View file

@ -29,7 +29,7 @@ jobs:
- platform: windows
runner: windows-latest
- platform: linux
runner: ubuntu-22.04
runner: ubuntu-24.04
steps:
- name: Checkout repository
@ -54,6 +54,22 @@ jobs:
libclang-dev \
cmake
- name: Create sidecar placeholders
# tauri-build resolves the externalBin entries from tauri.conf.json and on
# Windows hard-errors if a `binaries/<name>-<target-triple>(.exe)` file is
# missing. `cargo check` does not bundle, so empty placeholders are enough to
# satisfy the existence check without downloading the real ffmpeg/STT sidecars.
shell: bash
run: |
TRIPLE=$(rustc -vV | sed -n 's/^host: //p')
EXT=""
if [ "$RUNNER_OS" = "Windows" ]; then EXT=".exe"; fi
mkdir -p src-tauri/binaries
for name in talkis-ffmpeg talkis-stt talkis-stt-nvidia talkis-stt-qwen talkis-diarize; do
: > "src-tauri/binaries/${name}-${TRIPLE}${EXT}"
done
ls -la src-tauri/binaries
- name: Cache Rust build output
uses: actions/cache@v4
with:

View file

@ -30,7 +30,7 @@ jobs:
release_script: build:release:windows
updater_platform: windows-x86_64
- platform: linux
runner: ubuntu-22.04
runner: ubuntu-24.04
release_script: build:release:linux
updater_platform: linux-x86_64