ci.yml (pushes to main, PRs) now runs only the quick checks: fmt + clippy, the Linux tests (Xvfb), clippy for Windows (MSVC) and for Android, cargo-deny, the notices check, and the TS3/TS6 smoke and browser interop tests. It skips documentation-only changes (except THIRD_PARTY_NOTICES.md, which is compiled in) and can be called by other workflows. The new release.yml builds the packages: on a v* tag it runs the same checks (through ci.yml) plus the Windows tests and every package job (Linux .tar.gz/.deb for the app and tsgw, Windows zip + installer, Flatpak, Android APKs, the tsgw image) and attaches them with SHA256SUMS to a draft release; run by hand it only uploads the packages as artifacts. docker.yml runs on tags and by hand instead of on PRs, pushes and weekly. scripts/own-crates.sh also recognizes crates/proto with Windows path separators, so Windows clippy covers our crates only (checked locally with clippy for x86_64-pc-windows-gnu: clean). Docs follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
name: Docker builds
|
|
|
|
# The local builds in docker/ (docs/building.md), checked at every release
|
|
# tag and on demand (Actions → Docker builds → Run workflow). Each build
|
|
# uploads what it made: the same kinds of packages as release.yml, the
|
|
# Windows one cross-compiled with mingw-w64.
|
|
|
|
on:
|
|
push:
|
|
tags: ["v*"]
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: docker (${{ matrix.platform }})
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
platform: [linux, windows, android]
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 120
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
# The Android build needs more room than the runner leaves free.
|
|
- name: Free disk space
|
|
run: |
|
|
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup
|
|
df -h /
|
|
- name: Build
|
|
run: scripts/docker-build.sh ${{ matrix.platform }} --progress=plain
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: docker-${{ matrix.platform }}
|
|
path: dist/${{ matrix.platform }}/
|
|
if-no-files-found: error
|