diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-03-26 03:07:58 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-03-26 04:03:24 +0200 |
commit | 14d745f2e90cdaa819c86771ec0673d2b45cd1d5 (patch) | |
tree | c3f5dc1e815b64e5189b6de84233d8faf793ae6e /.gitlab-ci.yml | |
parent | Merge pull request #1409 from Nheko-Reborn/uiTweaks (diff) | |
download | nheko-14d745f2e90cdaa819c86771ec0673d2b45cd1d5.tar.xz |
Tumbleweed integration tests
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 87b45ba1..2e89e955 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,6 +123,70 @@ build-gcc10: - .hunter/ - .ccache +build-tw: + stage: build + image: opensuse/tumbleweed + tags: [docker] + variables: + TRAVIS_OS_NAME: linux + before_script: + - echo -e "\e[0Ksection_start:`date +%s`:install_deps[collapsed=true]\r\e[0K\e[1m\e[95mInstalling apt dependencies" + - > + zypper --non-interactive install + "appstream-glib" + "asciidoc" + "ccache" + "cmake" + "cmark-devel" + "desktop-file-utils" + "gcc-c++" + "git" + "libappstream-glib8" + "lmdb-devel" + "memory-constraints" + "ninja" + "nlohmann_json-devel" + "olm-devel" + "openssl-devel" + "pkgconfig" + "spdlog-devel" + "zlib-devel" + "libQt5PlatformHeaders-devel" + "cmake(re2)" + "cmake(Qt5Concurrent)" + "cmake(Qt5Core)" + "cmake(Qt5DBus)" + "cmake(Qt5Keychain)" + "cmake(Qt5LinguistTools)" + "cmake(Qt5Multimedia)" + "cmake(Qt5Network)" + "cmake(Qt5QuickControls2)" + "cmake(Qt5Svg)" + "cmake(Qt5Widgets)" + "pkgconfig(libcurl)" + "pkgconfig(libevent)" + "pkgconfig(gstreamer-webrtc-1.0)" + "pkgconfig(xcb)" + "pkgconfig(xcb-ewmh)" + - echo -e "\e[0Ksection_end:`date +%s`:install_deps\r\e[0K" + script: + - export PATH="/usr/lib64/ccache:${PATH}" + - cmake -GNinja -H. -Bbuild + -DCMAKE_INSTALL_PREFIX=.deps/usr + -DUSE_BUNDLED_MTXCLIENT=ON -DUSE_BUNDLED_COEURL=ON -DUSE_BUNDLED_LMDBXX=ON + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_CXX_FLAGS="-Wno-error=array-bounds" + -DCI_BUILD=ON -DFETCHCONTENT_QUIET=OFF + # temporarily disabled because of mtxclient failures + #-DJSON_ImplicitConversions=OFF + - cmake --build build + rules: + - if : '$CI_PIPELINE_TRIGGERED == null' + cache: + key: "$CI_JOB_NAME" + paths: + - .ccache + build-macos: stage: build tags: [macos] |