Skip to content

Commit 947776b

Browse files
committed
Work on CI builds
1 parent 9642320 commit 947776b

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,9 @@ if(ENABLE_MBEDTLS)
305305
add_definitions(-DENABLE_MBEDTLS)
306306

307307
# Using CMake include directory
308-
set(ENABLE_TESTING OFF)
309-
set(ENABLE_PROGRAMS OFF)
310-
set(MBEDTLS_FATAL_WARNINGS OFF)
308+
set(ENABLE_TESTING OFF CACHE BOOL "" FORCE)
309+
set(ENABLE_PROGRAMS OFF CACHE BOOL "" FORCE)
310+
set(MBEDTLS_FATAL_WARNINGS OFF CACHE BOOL "" FORCE)
311311
add_subdirectory(thirdparty/mbedtls)
312312
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE MbedTLS::mbedtls)
313313

@@ -328,9 +328,9 @@ add_subdirectory(thirdparty/SingleApplication)
328328
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE SingleApplication)
329329

330330
# AppUtils
331-
set(UTILS_DOCK_ENABLED true)
332-
set(UTILS_WIFI_ENABLED false)
333-
set(UTILS_NOTIFICATIONS_ENABLED true)
331+
set(UTILS_DOCK_ENABLED ON CACHE BOOL "" FORCE)
332+
set(UTILS_WIFI_ENABLED OFF CACHE BOOL "" FORCE)
333+
set(UTILS_NOTIFICATIONS_ENABLED ON CACHE BOOL "" FORCE)
334334
add_subdirectory(thirdparty/AppUtils)
335335
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE AppUtils)
336336

deploy_linux.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if [[ $use_contribs = true ]] ; then
5858
export LD_LIBRARY_PATH=$(pwd)/contribs/src/env/linux_x86_64/usr/lib/:$LD_LIBRARY_PATH
5959
fi
6060

61-
if [[ -v QT_ROOT_DIR ]]; then
61+
if [[ -v QT_ROOT_DIR ]] ; then
6262
# cleanup undeployable Qt plugins (present, but missing their own dependencies)
6363
# only if we are on a GitHub Action server, because this remove the plugins from the Qt directory
6464
echo '---- Remove undeployable Qt plugins'
@@ -125,7 +125,8 @@ if [[ $create_package = true ]] ; then
125125
./contribs/deploy/linuxdeploy-x86_64.AppImage --appdir bin --plugin qt --output appimage
126126
mv $APP_NAME_LOWERCASE-x86_64.AppImage $APP_NAME-$APP_VERSION-linux64.AppImage
127127

128-
#echo '---- Installation directory content recap (after linuxdeploy):'
128+
echo '---- Installation directory content recap (after linuxdeploy):'
129+
find .
129130
#find bin/
130131
fi
131132

deploy_macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if [[ $use_contribs = true ]] ; then
5757
export LD_LIBRARY_PATH=$(pwd)/contribs/src/env/macOS_x86_64/usr/lib/:$(pwd)/contribs/src/env/macOS_arm64/usr/lib/:$LD_LIBRARY_PATH
5858
fi
5959

60-
if [[ -v QT_ROOT_DIR ]]; then
60+
if [[ -n "${QT_ROOT_DIR:-}" ]]; then
6161
# cleanup undeployable Qt plugins (present, but missing their own dependencies)
6262
# only if we are on a GitHub Action server, because this remove the plugins from the Qt directory
6363
echo '---- Remove undeployable Qt plugins'

0 commit comments

Comments
 (0)