Skip to content

Commit

Permalink
Add CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jolting committed Sep 17, 2018
1 parent 451480f commit b9343f5
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .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.