Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

ci: smoke test release target binaries

Samir Hossains004c01bc0520
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8295238..4d4c01b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -101,6 +101,15 @@ jobs:
if: matrix.os != 'ubuntu-latest'
run: cargo build --release --all-features --locked --target ${{ matrix.target }}
+ - name: Smoke-test produced Unix binary
+ if: matrix.os != 'windows-latest'
+ run: target/${{ matrix.target }}/release/moviebox-tui --version
+
+ - name: Smoke-test produced Windows binary
+ if: matrix.os == 'windows-latest'
+ shell: pwsh
+ run: .\target\${{ matrix.target }}\release\moviebox-tui.exe --version
+
- name: Archive Unix
if: matrix.os != 'windows-latest'
run: |
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0797870..dd48bdb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,7 @@
- **Season subtitles**: Remember an explicit subtitle or no-subtitle choice for every episode in a season download.
- **Playback state safety**: Sanitize provider and subject identifiers before using them in tracker state filenames.
- **Cross-platform release validation**: Run all-feature locked builds/tests, binary startup smoke tests, Unix and Windows installer syntax checks, and release-target builds in CI.
+- **Release artifact smoke tests**: Execute each native release target's produced binary on its CI runner before archiving.
- **Documentation accuracy**: Document Android intent limitations, the actual Termux binary model, macOS-only IINA support, native runtime verification requirements, and the current automated test count.
- **Installer checksum handling**: Compare SHA-256 values case-insensitively on macOS, Linux, and Termux shells.
- **Windows installer guidance**: Make the inspectable downloaded PowerShell script the documented path instead of direct remote code execution.
diff --git a/docs/release-checklist.md b/docs/release-checklist.md
index 5f53166..7d84d76 100644
--- a/docs/release-checklist.md
+++ b/docs/release-checklist.md
@@ -19,9 +19,9 @@ cargo package --locked
Confirm the entire unit and integration test suite passes on the CI host matrix
(`docs/testing.md`). Release targets that are cross-compiled must at least build
-cleanly on the release runners; they still require native runtime checks before
-release certification. A local host without the target C/linker toolchain cannot
-substitute for that runner result.
+cleanly and pass the release workflow's target-binary `--version` smoke test; they
+still require native player/runtime checks before release certification. A local
+host without the target C/linker toolchain cannot substitute for that runner result.
Confirm the main GitHub Actions workflows are green: