Don't generate the translations when running the CI

This commit is contained in:
Jaime van Kessel 2020-08-14 16:01:40 +02:00
parent 43efac491d
commit a9c67542bf
No known key found for this signature in database
GPG Key ID: 3710727397403C91
2 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,8 @@ if(CURA_DEBUGMODE)
set(_cura_debugmode "ON")
endif()
option(GENERATE_TRANSLATIONS "Should the translations be generated?" ON)
set(CURA_APP_NAME "cura" CACHE STRING "Short name of Cura, used for configuration folder")
set(CURA_APP_DISPLAY_NAME "Ultimaker Cura" CACHE STRING "Display name of Cura")
set(CURA_VERSION "master" CACHE STRING "Version name of Cura")
@ -58,8 +60,10 @@ if(NOT ${URANIUM_SCRIPTS_DIR} STREQUAL "")
# Extract Strings
add_custom_target(extract-messages ${URANIUM_SCRIPTS_DIR}/extract-messages ${CMAKE_SOURCE_DIR} cura)
# Build Translations
if(${GENERATE_TRANSLATIONS})
CREATE_TRANSLATION_TARGETS()
endif()
endif()
install(DIRECTORY resources

View File

@ -65,6 +65,7 @@ cmake3 \
-DCMAKE_PREFIX_PATH="${CURA_BUILD_ENV_PATH}" \
-DURANIUM_DIR="${PROJECT_DIR}/Uranium" \
-DBUILD_TESTS=ON \
-DGENERATE_TRANSLATIONS=OFF
..
make
ctest3 -j4 --output-on-failure -T Test