mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
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:
5
.github/workflows/ci_macos.yaml
vendored
5
.github/workflows/ci_macos.yaml
vendored
@@ -119,6 +119,11 @@ jobs:
|
|||||||
cmake --build build --target qbt_update_translations
|
cmake --build build --target qbt_update_translations
|
||||||
cmake --build build
|
cmake --build build
|
||||||
cmake --build build --target check
|
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
|
- name: Prepare build artifacts
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
7
.github/workflows/ci_ubuntu.yaml
vendored
7
.github/workflows/ci_ubuntu.yaml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
build-essential cmake ninja-build \
|
build-essential cmake ninja-build \
|
||||||
libssl-dev libxkbcommon-x11-dev libxcb-cursor-dev zlib1g-dev
|
libssl-dev zlib1g-dev
|
||||||
|
|
||||||
- name: Setup ccache
|
- name: Setup ccache
|
||||||
uses: Chocobo1/setup-ccache-action@v1
|
uses: Chocobo1/setup-ccache-action@v1
|
||||||
@@ -123,6 +123,11 @@ jobs:
|
|||||||
cmake --build build --target qbt_update_translations
|
cmake --build build --target qbt_update_translations
|
||||||
cmake --build build
|
cmake --build build
|
||||||
cmake --build build --target check
|
cmake --build build --target check
|
||||||
|
if [ "${{ matrix.qbt_gui }}" = "GUI=ON" ]; then
|
||||||
|
QT_QPA_PLATFORM=offscreen build/qbittorrent -v
|
||||||
|
else
|
||||||
|
build/qbittorrent-nox -v
|
||||||
|
fi
|
||||||
DESTDIR="qbittorrent" cmake --install build
|
DESTDIR="qbittorrent" cmake --install build
|
||||||
|
|
||||||
- name: Run CodeQL analysis
|
- name: Run CodeQL analysis
|
||||||
|
|||||||
Reference in New Issue
Block a user