Bundle FFmpeg as Tauri sidecar, download in CI
Some checks failed
CI / rust (push) Failing after 1m21s
CI / frontend (push) Successful in 24s
CI / python (push) Failing after 6s
Validate All / validate-all (push) Failing after 4m51s
Release / linux (push) Failing after 5m32s
Release / windows (push) Has been cancelled

This commit is contained in:
2026-05-07 11:23:34 -06:00
parent a64ae78833
commit 3093b41033
6 changed files with 98 additions and 1 deletions

View File

@ -0,0 +1,44 @@
# Gitea Runner — Windows Laptop
Self-hosted runner registered as `windows-laptop` with label `windows-latest`.
## Setup
```powershell
# Download
Invoke-WebRequest -Uri "https://gitea.com/gitea/runner/releases/download/v1.0.1/gitea-runner-1.0.1-windows-amd64.exe" -OutFile "$env:USERPROFILE\gitea-runner-windows-amd64.exe"
# Register (Admin PowerShell)
.\gitea-runner-windows-amd64.exe register --instance http://143.244.157.110:3000 --token NS5LXzLzNOvPKD9Id4SrLQ09bReHOrn6T2c4EyGM --name windows-laptop --labels windows-latest --no-interactive
# Start (foreground)
.\gitea-runner-windows-amd64.exe daemon
# Install as Windows service (auto-starts on boot)
.\gitea-runner-windows-amd64.exe service install
```
## Logs
### Workflow job logs (step output)
Stored on the Gitea server (not locally). Download from:
`http://143.244.157.110:3000/<owner>/<repo>/actions/runs/<run_id>`
Click a job, then the **Download log** button at the top-right.
### Runner daemon logs (runner itself)
| Mode | Log location |
|---|---|
| Foreground (`daemon`) | PowerShell console stdout |
| Windows service (`service install`) | `%ProgramData%\gitea-runner\log\` or Windows Event Viewer → Windows Logs → Application |
## Diagnostics
If a CI job fails, download the full log from the Gitea Actions UI (as above), then search for the first error:
- **Rust**: look for `error[E...]`, `error: could not compile`, or `cargo test` failures
- **Python**: look for `FAILED`, `AssertionError`, or `ModuleNotFoundError`
The runner's own logs (`daemon` mode) will show which job it picked up, container lifecycle, and any infrastructure issues (disk full, Docker unavailable, etc.).