diff options
author | Robert Tari <robert@tari.in> | 2021-10-24 21:40:19 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-10-24 21:40:19 +0200 |
commit | c3f146d3b8db51f2e58b1cdda2fb5f76ba95877c (patch) | |
tree | 2733c8b50cc7b8d07803a68b650355ea30f27308 | |
parent | c2f6dc5385eb88c8da44c441f705e76a1dc6da38 (diff) | |
parent | a6c9ba856771a0c10d3206669b936d2c3585f818 (diff) | |
download | libayatana-appindicator-c3f146d3b8db51f2e58b1cdda2fb5f76ba95877c.tar.gz libayatana-appindicator-c3f146d3b8db51f2e58b1cdda2fb5f76ba95877c.tar.bz2 libayatana-appindicator-c3f146d3b8db51f2e58b1cdda2fb5f76ba95877c.zip |
Merge branch 'sunweaver-pr/run-tests-in-build_scripts-target'
Attributes GH PR #39: https://github.com/AyatanaIndicators/libayatana-appindicator/pull/39
-rw-r--r-- | .build.yml | 22 |
1 files changed, 9 insertions, 13 deletions
@@ -200,18 +200,14 @@ build_scripts: - scan-build $CHECKERS --keep-cc -o html-report make - cd - - fi - -after_scripts: - - if [ ${BUILD_TYPE} == "scripts" ];then - - XVFB_RUN="$(which xvfb-run || true)" - - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then - - if [ -e ./CMakeLists.txt ]; then - - cd build/gtk3/ - - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test - - cd - - - cd build/gtk2/ - - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test - - cd - - - fi + - XVFB_RUN="$(which xvfb-run || true)" + - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then + - if [ -e ./CMakeLists.txt ]; then + - cd build/gtk3/ + - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test + - cd - + - cd build/gtk2/ + - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test + - cd - - fi - fi |