diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-09-04 18:53:35 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-09-04 19:17:53 +0200 |
| commit | a9dc4915371087e2d706fad95d4fccf11745ba63 (patch) | |
| tree | e871a01fe323838e120d398651856697eaedac1d /tests | |
| parent | 17c6b1a9c776dc9820181f190b93a0c76bf0e1d5 (diff) | |
| download | qxmpp-a9dc4915371087e2d706fad95d4fccf11745ba63.tar.gz | |
ci: Add Qt 6 builds
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/travis/build-and-test | 2 | ||||
| -rwxr-xr-x | tests/travis/install-build-depends | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/tests/travis/build-and-test b/tests/travis/build-and-test index 400831d5..c39f1806 100755 --- a/tests/travis/build-and-test +++ b/tests/travis/build-and-test @@ -14,7 +14,7 @@ case "$CONFIG" in full*) CMAKE_ARGS="-DBUILD_DOCUMENTATION:BOOL=True -DBUILD_EXAMPLES:BOOL=True -DWITH_GSTREAMER:BOOL=True" case "$QT_VERSION" in - 5.15*) + 5.15* | 6*) # Enable OMEMO CMAKE_ARGS="$CMAKE_ARGS -DBUILD_OMEMO=ON" ;; diff --git a/tests/travis/install-build-depends b/tests/travis/install-build-depends index 3fa14a28..9a8b4fed 100755 --- a/tests/travis/install-build-depends +++ b/tests/travis/install-build-depends @@ -47,13 +47,17 @@ fi case "$CONFIG" in full*) + # Enable OMEMO for Qt > 5.15 (including Qt 6) + # Build and install qca and libomemo-c case "$QT_VERSION" in 5.15*) - # OMEMO enabled - # Build and install qca and libomemo-c install_cmake libomemo-c https://github.com/dino/libomemo-c "-DBUILD_SHARED_LIBS=ON" install_cmake qca https://invent.kde.org/libraries/qca "-DBUILD_TESTS=OFF -DBUILD_TOOLS=OFF -DBUILD_WITH_QT6=OFF" ;; + 6*) + install_cmake libomemo-c https://github.com/dino/libomemo-c "-DBUILD_SHARED_LIBS=ON" + install_cmake qca https://invent.kde.org/libraries/qca "-DBUILD_TESTS=OFF -DBUILD_TOOLS=OFF -DBUILD_WITH_QT6=ON" + ;; esac ;; esac |
