Permalink
Browse files

Add CircleCI

  • Loading branch information...
jolting committed Sep 17, 2018
1 parent 451480f commit b9343f50b2697b99be62c1f908dcbfcf2f675cac
Showing with 43 additions and 0 deletions.
  1. +43 −0 .circleci/config.yml
@@ -0,0 +1,43 @@
version: 2
jobs:
full:
docker:
- image: mrpt/mrpt-build-env:full-bionic
steps:
- checkout
- run: cmake -DBUILD_EXAMPLES=On -DBUILD_TESTING=On -DENABLE_COVERAGE=On -H. -Bbuild
- run: make -C build tests_build_all
- run: make CTEST_OUTPUT_ON_FAILURE=1 test -C build
- run: make gcov -C build
- run: make -C build
- run: bash <(curl -s https://codecov.io/bash) -X gcov -y .codecov.yml -s build
headless:
docker:
- image: mrpt/mrpt-build-env:headless-bionic
steps:
- checkout
- run: cmake -DBUILD_EXAMPLES=On -DBUILD_TESTING=On -DENABLE_COVERAGE=On -H. -Bbuild
- run: make -C build tests_build_all
- run: make CTEST_OUTPUT_ON_FAILURE=1 test -C build
- run: make gcov -C build
- run: make -C build
- run: bash <(curl -s https://codecov.io/bash) -X gcov -y .codecov.yml -s build
minimal:
docker:
- image: mrpt/mrpt-build-env:minimal-bionic
steps:
- checkout
- run: cmake -DBUILD_EXAMPLES=On -DBUILD_TESTING=On -DENABLE_COVERAGE=On -DDISABLE_PYTHON_BINDINGS=On -DEIGEN_USE_EMBEDDED_VERSION=On -H. -Bbuild
- run: make -C build tests_build_all
- run: make CTEST_OUTPUT_ON_FAILURE=1 test -C build
- run: make gcov -C build
- run: make -C build
- run: bash <(curl -s https://codecov.io/bash) -X gcov -y .codecov.yml -s build

workflows:
version: 2
build:
jobs:
- full
- headless
- minimal

0 comments on commit b9343f5

Please sign in to comment.