kind: pipeline type: docker name: default clone: disable: true steps: - name: fetch image: registry.nadal-fr.com/buildroot_dev commands: - git clone ssh://git@git.nadal-fr.com:222/domo/domo-iot.git - git clone ssh://git@git.nadal-fr.com:222/domo/qlibc.git - git clone ssh://git@git.nadal-fr.com:222/domo/libevent.git - git clone ssh://git@git.nadal-fr.com:222/domo/nats.c.git - git clone ssh://git@git.nadal-fr.com:222/domo/json-c.git - patch -d nats.c -p1 < domo-iot/patches/nats.c.patch - name: build image: registry.nadal-fr.com/buildroot_dev commands: - mkdir -p domo-iot/build - cd domo-iot/build && cmake .. -DDOMO_BUILD_TEST=ON - make - name: test image: registry.nadal-fr.com/buildroot_dev commands: - cd domo-iot/build - ./bin/test_device - name: codecov image: registry.nadal-fr.com/buildroot_dev commands: - cd domo-iot/build - gcovr -v --object-directory=. -r .. image_pull_secrets: - dockerconfigjson