diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-24 21:23:48 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-24 21:33:18 +0200 |
commit | a6c9ba856771a0c10d3206669b936d2c3585f818 (patch) | |
tree | 2733c8b50cc7b8d07803a68b650355ea30f27308 /.build.yml | |
parent | c2f6dc5385eb88c8da44c441f705e76a1dc6da38 (diff) | |
download | libayatana-appindicator-a6c9ba856771a0c10d3206669b936d2c3585f818.tar.gz libayatana-appindicator-a6c9ba856771a0c10d3206669b936d2c3585f818.tar.bz2 libayatana-appindicator-a6c9ba856771a0c10d3206669b936d2c3585f818.zip |
.build.yml. Run unit tests directly after build in build_scripts: target.
Diffstat (limited to '.build.yml')
-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 |