mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Replace CGO_ENABLED=0 (which fails because gioui.org requires CGO on Linux) with a proper C cross-compiler approach using Debian multi-arch packages. Running caire-builder with --platform=\$BUILDPLATFORM avoids QEMU crashes on Apple Silicon; the C cross-compiler bridges the CGO gap for the target arch. Also adds SKIP_MODEL_DOWNLOADS=true to the CI docker build job to prevent HuggingFace CDN 504s in CI (image structure is what matters there).