Skip to content

EN Building Releases

Cavanshirpro edited this page Sep 20, 2026 · 2 revisions

Building and Releases — LeoMiniGames v0.7.0

Authoritative source floor

The root CMakeLists.txt is the configuration source of truth: CMake 3.21+, C++20, Qt 6.5+. Required root Qt components are Core, Gui, Qml, Quick, QuickControls2, Network and Svg. Qt Multimedia is found with QUIET; when absent the application builds with a silent audio capability fallback.

Repository docs/BUILDING.md currently says CMake 3.24+ and lists Multimedia as required. That prose is stricter/stale relative to the root build file. This mismatch is recorded in Source Audit.

Desktop quick build

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
cmake --build build --parallel
ctest --test-dir build --output-on-failure

Use a Qt kit matching the compiler/architecture. Packaging is a separate step: a compiled executable is not yet a portable release artifact.

Windows

Release packaging uses deployed Qt runtime files before producing the portable ZIP; the Qt Installer Framework path should contain the same staged application payload. The application component is intended to be essential/forced so a setup cannot accidentally install only maintenance tooling. Do not claim Authenticode signing without an actual certificate/sign stage.

Linux

Current release planning covers portable tar/AppImage lanes on supported Linux architectures. AppImage staging must include the Qt/Multimedia runtime dependencies needed by the selected build. A successful container/build lane is not proof of every target distribution's desktop/audio integration.

Android

Source values:

  • application ID xyz.younglion.leominigames
  • versionName 0.7.0
  • versionCode 700
  • minimum SDK 28
  • target SDK 36
  • compile SDK 36
  • build tools 36.0.0

Signing secrets belong in GitHub Actions secrets (ANDROID_KEYSTORE_BASE64, alias/password values), never committed keystore material. Preserve the correct signing/upload key when update continuity requires it.

macOS / iOS / iPadOS

macOS is packaged separately from Apple mobile. Current CI/source notes cover arm64 device and x86_64 simulator paths for iOS/iPadOS; the current online Qt iOS lane does not claim a usable arm64-simulator Qt slice. Public Apple distribution additionally requires appropriate signing/provisioning/notarization and must not be inferred from an unsigned CI archive.

GitHub release policy

The manual build-artifacts.yml workflow generates reviewable artifacts. It deliberately does not auto-create a GitHub Release from a tag. After successful builds: download artifacts, inspect names/content/checksums, perform platform smoke tests, then create/edit the GitHub Release manually.

Evidence ladder

  1. source/static validator PASS;
  2. native/cross build PASS;
  3. CTest PASS where executable;
  4. deployed/package artifact smoke test;
  5. simulator/emulator test;
  6. physical-device QA.

Do not collapse these into one “verified” label.

Canonical sources: root CMakeLists.txt, BUILD_MATRIX.md and docs/GITHUB_RELEASES.md.

Clone this wiki locally