diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 553263c..1badd78 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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/-(.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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10b19d6..dd6e584 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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