diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-02-20 15:33:44 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-02-20 15:33:44 +0100 |
commit | bc16de10e7757fc78e0d70fe3c46a9bab67e7873 (patch) | |
tree | c03681583d0a4764aa28a23fe5b4b3fd310bb36b /.build.yml | |
parent | b12fb0e3278c13ea79a4e4354a492f9cfb80ae4f (diff) | |
parent | e6f52e9177b1a103961105d9383314b00011a123 (diff) | |
download | ayatana-indicator-power-bc16de10e7757fc78e0d70fe3c46a9bab67e7873.tar.gz ayatana-indicator-power-bc16de10e7757fc78e0d70fe3c46a9bab67e7873.tar.bz2 ayatana-indicator-power-bc16de10e7757fc78e0d70fe3c46a9bab67e7873.zip |
Merge branch 'tari01-pr/add-lomiri-features-flag'
Attributes GH PR #57: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/57
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -33,6 +33,7 @@ requires: - cmake-extras - intltool # - libayatana-common-dev +# - lomiri-schemas - liblomiri-url-dispatcher-dev - gobject-introspection - libgirepository1.0-dev @@ -123,6 +124,17 @@ before_scripts: - make install - cd - - rm -Rf libayatana-common-build/ + - + - cd ${START_DIR} + - if [ ! -d lomiri-schemas-build ]; then + - git clone --depth 1 https://gitlab.com/ubports/core/lomiri-schemas.git lomiri-schemas-build + - fi + - cd lomiri-schemas-build + - cmake . -DCMAKE_INSTALL_PREFIX=/usr + - make + - make install + - cd - + - rm -Rf lomiri-schemas-build/ build_scripts: - if [ ${DISTRO_NAME} == "debian" ];then @@ -130,7 +142,9 @@ build_scripts: - fi - - if [ -e ./CMakeLists.txt ]; then - - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then + - if [ ${DISTRO_NAME} == "debian" ]; then + - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON -DENABLE_TESTS=ON -DENABLE_LOMIRI_FEATURES=ON + - elif [ ${DISTRO_NAME} == "ubuntu" ]; then - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON -DENABLE_TESTS=ON - else - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON |