# vi:et:ts=2 sw=2 sts=2
image: pidgin/builder-debian:buster
pipelines:
  default:
    - step:
        script:
          - set -ex
          - meson -Dsilc=false -Ddoc=true -Dconsole-logging=true build-pipelines
          - ninja -C build-pipelines
          - ninja -C build-pipelines test
          - "ninja -C build-pipelines $(ninja -C build-pipelines -t targets | grep -E '[a-z]+-doc:' | cut -d: -f1)"
  branches:
    release-2.x.y:
      - step:
          image: pidgin/release-builder:release-2.x.y
          script:
            - set -ex
            - ./autogen.sh --enable-debug
            - make -s -j$(nproc)
            - make -s -j$(nproc) check
            - make distcheck
