Skip to content

Commit fc89a0b

Browse files
committed
CI: add -DENABLE_UPDATE_TRANSLATIONS=ON
1 parent 3bb8730 commit fc89a0b

File tree

8 files changed

+10
-1
lines changed

8 files changed

+10
-1
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ jobs:
397397
-DVCPKG_TRACE_FIND_PACKAGE=ON \
398398
-DQt6LinguistTools_DIR=${QT_ROOT_DIR}/../gcc_64/lib/cmake/Qt6LinguistTools \
399399
-DCMAKE_INSTALL_PREFIX=`pwd`/install \
400+
-DENABLE_UPDATE_TRANSLATIONS=ON \
400401
-DWITH_WebEngineWidgets=ON \
401402
-DBUILD_LibVNCServer=ON \
402403
-DLibVNCServer_DIR="${{env.INSTALL_DIR}}/lib/cmake/LibVNCServer" \
@@ -427,6 +428,7 @@ jobs:
427428
cmake --preset "android-${{env.ANDROID_ABI}}-qt6" \
428429
-DQT_HOST_PATH=${QT_ROOT_DIR}/../gcc_64 \
429430
-DQT_ANDROID_SIGN_APK=ON \
431+
-DENABLE_UPDATE_TRANSLATIONS=ON \
430432
-DQt6LinguistTools_DIR=${QT_ROOT_DIR}/../gcc_64/lib/cmake/Qt6LinguistTools \
431433
-DBUILD_LibVNCServer=OFF \
432434
-DLibVNCServer_DIR="${{env.INSTALL_DIR}}/lib/cmake/LibVNCServer" \

.github/workflows/macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,8 @@ jobs:
375375
-DRABBIT_WITH_MACDEPLOY=OFF \
376376
-DWITH_WebEngineWidgets=ON \
377377
-DBUILD_FREERDP=ON \
378-
-DINSTALL_QTKEYCHAIN=ON
378+
-DINSTALL_QTKEYCHAIN=ON \
379+
-DENABLE_UPDATE_TRANSLATIONS=ON
379380
cmake --build . --config Release
380381
if [ "Release" == "Release" ]; then
381382
cmake --install . --config Release --component DependLibraries --strip

.github/workflows/msvc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ jobs:
434434
-DX_VCPKG_APPLOCAL_DEPS_INSTALL=ON ^
435435
-DVCPKG_APPLOCAL_DEPS=ON ^
436436
-DVCPKG_TRACE_FIND_PACKAGE=ON ^
437+
-DENABLE_UPDATE_TRANSLATIONS=ON ^
437438
-DBUILD_QUIWidget=OFF ^
438439
-DBUILD_APP=ON ^
439440
-DBUILD_FREERDP=ON ^

Package/Flatpak/io.github.KangLin.RabbitRemoteControl.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ modules:
351351
builddir: true
352352
config-opts:
353353
- -DCMAKE_BUILD_TYPE=Release
354+
- -DENABLE_UPDATE_TRANSLATIONS=ON
354355
cleanup:
355356
- -usr/bin/cmark
356357
- -usr/bin/cmark-gfm

Package/debian/rules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ override_dh_auto_configure:
3939
-DBUILD_FREERDP=ON \
4040
-DCMAKE_INSTALL_PREFIX=/opt/RabbitRemoteControl \
4141
-DRabbitCommon_ROOT=${RabbitCommon_ROOT} \
42+
-DENABLE_UPDATE_TRANSLATIONS=ON \
4243
-DCMARK_SHARED=OFF \
4344
-DCMARK_TESTS=OFF \
4445
-DCMARK_STATIC=ON \

Package/rpm/rabbitremotecontrol.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ cmake . -B $RPM_BUILD_DIR \
100100
-DCMARK_STATIC=ON \
101101
-DWITH_CMARK=OFF \
102102
-DWITH_CMARK_GFM=ON \
103+
-DENABLE_UPDATE_TRANSLATIONS=ON \
103104
-DWITH_WebEngineWidgets=ON \
104105
-DBUILD_FREERDP=ON
105106
cmake --build $RPM_BUILD_DIR --config Release --parallel $(nproc)

Script/build_appimage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ cmake "$REPO_ROOT" \
188188
-DCMARK_STATIC=ON \
189189
-DWITH_CMARK=OFF \
190190
-DWITH_CMARK_GFM=ON \
191+
-DENABLE_UPDATE_TRANSLATIONS=ON \
191192
-DWITH_WebEngineWidgets=ON \
192193
-DCMAKE_BUILD_TYPE=Release \
193194
-DBUILD_QUIWidget=OFF \

snap/snapcraft.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ parts:
386386
# See: https://snapcraft.io/docs/parts-environment-variables
387387
- -DCMAKE_BUILD_TYPE=Release
388388
- -DRabbitCommon_ROOT=$CRAFT_STAGE/RabbitCommon/
389+
- -DENABLE_UPDATE_TRANSLATIONS=ON
389390
- -DCMAKE_VERBOSE_MAKEFILE=OFF
390391
# - -DQT_ROOT=$CRAFT_STAGE/qt
391392
# - -DQT_DIR=$CRAFT_STAGE/qt/lib/cmake/Qt6

0 commit comments

Comments
 (0)