gplugin/gplugin

Configure clang-format CI
develop
2020-02-15, Gary Kramlich
a7dd676db7d8
Parents ec99ac25c43b
Children d9fdcdb2b176
Configure clang-format CI

The builder image has been updated to support clang-format.

Committed-by: Richard Laager
  • +5 -17
    convey.yml
  • --- a/convey.yml Sat Feb 15 19:50:16 2020 -0600
    +++ b/convey.yml Sat Feb 15 21:12:25 2020 -0600
    @@ -67,17 +67,6 @@
    type: docker/logout
    server: ${REGISTRY}
    - clang-format:
    - type: docker/run
    - image: ${CLANG_FORMAT_BUILD_IMAGE}
    - workdir: ${CONVEY_WORKSPACE}
    - script:
    - - set -ex
    - - meson clang-format-${TARGET}
    - - ninja -C clang-format-${TARGET} clang-format
    - - hg diff
    - - if [ $(hg diff | wc -l) != 0 ] ; then exit 1 ; fi
    -
    docs-build:
    type: docker/run
    image: ${DOCS_BUILD_IMAGE}
    @@ -128,6 +117,11 @@
    stages:
    - tasks: [import, build, export]
    + clang-format:
    + environment: [TARGET=clang-format]
    + stages:
    + - tasks: [import, build-target]
    +
    debian-buster-amd64:
    environment: [DISTRO=debian, VERSION=buster]
    stages:
    @@ -165,12 +159,6 @@
    stages:
    - tasks: [import, build, export]
    - gplugin-clang-format-ci:
    - environment: [TARGET=gplugin]
    - stages:
    - - tasks: [import, clang-format]
    - run: always
    -
    gplugin-docs:
    environment: [TARGET=gplugin, DOCS_PATH=gplugin/reference]
    stages: