|
|
@ -64,7 +64,6 @@ jobs: |
|
|
|
- name: Build qBittorrent (Qt5) |
|
|
|
- name: Build qBittorrent (Qt5) |
|
|
|
if: ${{ startsWith(matrix.qt_version, 5) }} |
|
|
|
if: ${{ startsWith(matrix.qt_version, 5) }} |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
lupdate -extensions c,cpp,h,hpp,ui ./ |
|
|
|
|
|
|
|
cmake \ |
|
|
|
cmake \ |
|
|
|
-B build \ |
|
|
|
-B build \ |
|
|
|
-G "Ninja" \ |
|
|
|
-G "Ninja" \ |
|
|
@ -73,13 +72,13 @@ jobs: |
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \ |
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \ |
|
|
|
-DVERBOSE_CONFIGURE=ON \ |
|
|
|
-DVERBOSE_CONFIGURE=ON \ |
|
|
|
-D${{ matrix.qbt_gui }} |
|
|
|
-D${{ matrix.qbt_gui }} |
|
|
|
|
|
|
|
cmake --build build --target qbt_update_translations |
|
|
|
cmake --build build |
|
|
|
cmake --build build |
|
|
|
DESTDIR="qbittorrent" cmake --install build |
|
|
|
DESTDIR="qbittorrent" cmake --install build |
|
|
|
|
|
|
|
|
|
|
|
- name: Build qBittorrent (Qt6) |
|
|
|
- name: Build qBittorrent (Qt6) |
|
|
|
if: ${{ startsWith(matrix.qt_version, 6) }} |
|
|
|
if: ${{ startsWith(matrix.qt_version, 6) }} |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
lupdate -extensions c,cpp,h,hpp,ui ./ |
|
|
|
|
|
|
|
cmake \ |
|
|
|
cmake \ |
|
|
|
-B build \ |
|
|
|
-B build \ |
|
|
|
-G "Ninja" \ |
|
|
|
-G "Ninja" \ |
|
|
@ -89,6 +88,7 @@ jobs: |
|
|
|
-DQT6=ON \ |
|
|
|
-DQT6=ON \ |
|
|
|
-DVERBOSE_CONFIGURE=ON \ |
|
|
|
-DVERBOSE_CONFIGURE=ON \ |
|
|
|
-D${{ matrix.qbt_gui }} |
|
|
|
-D${{ matrix.qbt_gui }} |
|
|
|
|
|
|
|
cmake --build build --target qbt_update_translations |
|
|
|
cmake --build build |
|
|
|
cmake --build build |
|
|
|
DESTDIR="qbittorrent" cmake --install build |
|
|
|
DESTDIR="qbittorrent" cmake --install build |
|
|
|
|
|
|
|
|
|
|
|