|
|
|
@ -11,26 +11,21 @@ variables: |
|
|
|
|
|
|
|
|
|
build-clazy: |
|
|
|
|
stage: build |
|
|
|
|
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/ubuntu:22.04 |
|
|
|
|
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine:latest |
|
|
|
|
tags: [docker] |
|
|
|
|
variables: |
|
|
|
|
CLAZY_CHECKS: level0,level1,no-non-pod-global-static |
|
|
|
|
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" |
|
|
|
|
- apt-get update |
|
|
|
|
- apt-get -y install --no-install-suggests --no-install-recommends ca-certificates build-essential ninja-build cmake gcc make automake liblmdb-dev libre2-dev |
|
|
|
|
libssl-dev libqt5multimedia5-plugins libqt5multimediagsttools5 libqt5multimediaquick5 libqt5svg5-dev |
|
|
|
|
qtmultimedia5-dev qtquickcontrols2-5-dev qttools5-dev qttools5-dev-tools qtdeclarative5-dev |
|
|
|
|
qml-module-qtmultimedia qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qt-labs-platform |
|
|
|
|
qt5keychain-dev ccache clazy libcurl4-openssl-dev libevent-dev libspdlog-dev git nlohmann-json3-dev libcmark-dev asciidoc # libolm-dev |
|
|
|
|
- echo -e "\e[0Ksection_start:`date +%s`:install_deps[collapsed=true]\r\e[0K\e[1m\e[95mInstalling apk dependencies" |
|
|
|
|
- apk add asciidoctor boost-dev cmake cmark-dev gst-plugins-bad-dev gst-plugins-base-dev gstreamer-dev lmdb-dev lmdbxx nlohmann-json olm-dev openssl-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtmultimedia-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev qt5-qttools-dev qtkeychain-dev samurai spdlog-dev xcb-util-wm-dev zlib-dev ccache curl-dev libevent-dev meson clazy clang16 gcc |
|
|
|
|
- echo -e "\e[0Ksection_end:`date +%s`:install_deps\r\e[0K" |
|
|
|
|
script: |
|
|
|
|
- export PATH="/usr/local/bin/:/usr/lib/ccache:${PATH}" |
|
|
|
|
- export PATH="/usr/lib/ccache:${PATH}" |
|
|
|
|
- export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l) |
|
|
|
|
- cmake -GNinja -H. -Bbuild |
|
|
|
|
-DCMAKE_INSTALL_PREFIX=.deps/usr |
|
|
|
|
-DHUNTER_ENABLED=OFF -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=ON -DUSE_BUNDLED_MTXCLIENT=ON -DUSE_BUNDLED_COEURL=ON -DUSE_BUNDLED_LMDBXX=ON -DUSE_BUNDLED_OLM=ON |
|
|
|
|
-DHUNTER_ENABLED=OFF -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=ON -DUSE_BUNDLED_MTXCLIENT=ON -DUSE_BUNDLED_COEURL=ON -DUSE_BUNDLED_OLM=ON |
|
|
|
|
-DVOIP=OFF |
|
|
|
|
-DCMAKE_BUILD_TYPE=Release |
|
|
|
|
-DCI_BUILD=ON -DFETCHCONTENT_QUIET=OFF -DCMAKE_CXX_COMPILER=clazy |
|
|
|
|