Packages from every CI platform, Docker builds for local packaging

scripts/package.sh turns release builds into the packages CI uploads and
the Docker builds produce: Linux .tar.gz and .deb (dependencies from
dpkg-shlibdeps), Windows .zip and NSIS installer, renamed Android APKs,
each with a SHA256SUMS file.

CI (ci.yml): package-linux, package-windows (installer now required),
package-flatpak (bundle from packaging/flatpak, cargo sources generated
in the job), package-gateway-image (docker save of tsgw) and the Android
job (debug APKs for arm64-v8a and x86_64, a signed release APK when the
signing secrets exist) each upload an artifact. A v* tag also attaches
everything to a draft GitHub release.

docker/{linux,windows,android}.Dockerfile with scripts/docker-build.sh
build the same packages locally into dist/<platform>/: Ubuntu 24.04,
a mingw-w64 cross build with a static libvpx pinned by commit, and the
Android SDK/NDK/cargo-ndk CI uses. Proxy settings and an optional CA
certificate are passed through. docker.yml runs them weekly and when
they change. docs/building.md describes both ways.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-26 19:56:57 +00:00
1 parent 4b82e12f90
commit 05c9e5d43d
13 files changed
+773 -57

No files matched your search

+5 -3
View File
@@ -1,8 +1,10 @@
# Windows build and installer
CI (`release-build` in `.github/workflows/ci.yml`) builds `tsc-desktop.exe` on
`windows-2025` and uploads it as an artifact, with the installer when NSIS is on
the runner. Nothing is signed there.
CI (`package-windows` in `.github/workflows/ci.yml`) builds `tsc-desktop.exe`,
`tsctl.exe` and `tsgw.exe` on `windows-2025` and uploads the zip and the
installer as the `tsc-windows-x86_64` artifact. Nothing is signed there.
`docker/windows.Dockerfile` cross-compiles the same packages on Linux
([docs/building.md](../../docs/building.md)).
## Build