Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Correct message and CI scripts for ALLOW_UNSTABLE

Carsten Hartenfels2778ab210c6f
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1eb663d15..2d6cf99410 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -364,9 +364,8 @@ add_feature_info("Unstable features allowed" ON "${ALLOW_UNSTABLE}")
if(BUILD_WITH_QT6 AND NOT "QT6" IN_LIST ALLOW_UNSTABLE)
message(FATAL_ERROR
- "Building Krita with Qt6 is unstable. You will get a pre-alpha "
- "quality version of the application. Please don't package this "
- "and ship it as a stable version of the software.\n"
+ "Building Krita with Qt6 is not yet production-ready. Please don't "
+ "package this and ship it as a stable version of the software.\n"
"If you want to continue regardless, pass:\n"
" -DALLOW_UNSTABLE=QT6"
)
diff --git a/build-tools/ci-scripts/linux.yml b/build-tools/ci-scripts/linux.yml
index ad89a8ac8e..30553a35c1 100644
--- a/build-tools/ci-scripts/linux.yml
+++ b/build-tools/ci-scripts/linux.yml
@@ -60,6 +60,7 @@
-DHIDE_SAFE_ASSERTS=OFF
-DBUILD_TESTING=ON
-DBUILD_WITH_QT6=ON
+ -DALLOW_UNSTABLE=QT6
linux-build-qt5:
extends:
@@ -91,6 +92,7 @@ linux-build-qt6-nightly:
-DHIDE_SAFE_ASSERTS=OFF
-DBUILD_TESTING=OFF
-DBUILD_WITH_QT6=ON
+ -DALLOW_UNSTABLE=QT6
linux-qt5-debug-weekly:
extends:
@@ -156,3 +158,4 @@ linux-release-qt6:
-DHIDE_SAFE_ASSERTS=ON
-DBUILD_TESTING=OFF
-DBUILD_WITH_QT6=ON
+ -DALLOW_UNSTABLE=QT6
diff --git a/build-tools/ci-scripts/macos.yml b/build-tools/ci-scripts/macos.yml
index 4c03dcb586..93bd1ee276 100644
--- a/build-tools/ci-scripts/macos.yml
+++ b/build-tools/ci-scripts/macos.yml
@@ -95,6 +95,7 @@
-DHIDE_SAFE_ASSERTS=OFF
-DBUILD_TESTING=ON
-DBUILD_WITH_QT6=ON
+ -DALLOW_UNSTABLE=QT6
# TODO: temporarily disable unittests runs on MacOS, since they flood the logs on GitLab
KDECI_ONLY_BUILD: True
@@ -140,3 +141,4 @@ macos-release-qt6:
-DHIDE_SAFE_ASSERTS=ON
-DBUILD_TESTING=OFF
-DBUILD_WITH_QT6=ON
+ -DALLOW_UNSTABLE=QT6
diff --git a/build-tools/ci-scripts/windows.yml b/build-tools/ci-scripts/windows.yml
index 7d4a92f83f..c6b747fcdf 100644
--- a/build-tools/ci-scripts/windows.yml
+++ b/build-tools/ci-scripts/windows.yml
@@ -56,6 +56,7 @@
-DHIDE_SAFE_ASSERTS=OFF
-DBUILD_TESTING=ON
-DBUILD_WITH_QT6=ON
+ -DALLOW_UNSTABLE=QT6
windows-build-qt5:
extends:
@@ -89,6 +90,7 @@ windows-build-qt6-nightly:
-DHIDE_SAFE_ASSERTS=OFF
-DBUILD_TESTING=OFF
-DBUILD_WITH_QT6=ON
+ -DALLOW_UNSTABLE=QT6
# TODO: disable for now, we need to update to clang-21 to support ASAN on Win11
@@ -142,3 +144,4 @@ windows-release-qt6:
-DHIDE_SAFE_ASSERTS=ON
-DBUILD_TESTING=OFF
-DBUILD_WITH_QT6=ON
+ -DALLOW_UNSTABLE=QT6