CI: turn on assertion checks

This turn on assertions from qbt codebase so that testers can verify the assertions really hold.

PR #21499.
This commit is contained in:
Chocobo1
2024-10-06 16:13:14 +08:00
committed by GitHub
parent f81d8a85e9
commit 6ed662c68b
3 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ jobs:
- name: Build qBittorrent
run: |
CXXFLAGS="$CXXFLAGS ${{ env.harden_flags }} -Werror" \
CXXFLAGS="$CXXFLAGS ${{ env.harden_flags }} -DQT_FORCE_ASSERTS -Werror" \
LDFLAGS="$LDFLAGS -gz" \
cmake \
-B build \