diff options
author | Robert Tari <robert@tari.in> | 2022-02-18 03:36:07 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2022-02-18 08:22:01 +0100 |
commit | e6f52e9177b1a103961105d9383314b00011a123 (patch) | |
tree | c03681583d0a4764aa28a23fe5b4b3fd310bb36b | |
parent | 627d6852c6511c5f9498d77df57010435f2cd518 (diff) | |
download | ayatana-indicator-power-e6f52e9177b1a103961105d9383314b00011a123.tar.gz ayatana-indicator-power-e6f52e9177b1a103961105d9383314b00011a123.tar.bz2 ayatana-indicator-power-e6f52e9177b1a103961105d9383314b00011a123.zip |
.build.yml: Add ENABLE_LOMIRI_FEATURES flag and adapt build flow
-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 |