GHA CI: test built binary

This would ensure the built binary is able to start up and rule out compiler or library linking
issues.

PR #23529.
This commit is contained in:
Chocobo1
2025-11-24 02:51:46 +08:00
committed by GitHub
parent 1f6e7519a0
commit 1b96a48266
2 changed files with 11 additions and 1 deletions

View File

@@ -119,6 +119,11 @@ jobs:
cmake --build build --target qbt_update_translations
cmake --build build
cmake --build build --target check
if [ "${{ matrix.qbt_gui }}" = "GUI=ON" ]; then
build/qbittorrent.app/Contents/MacOS/qbittorrent -v
else
build/qbittorrent-nox.app/Contents/MacOS/qbittorrent-nox -v
fi
- name: Prepare build artifacts
run: |