diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..3f3ca522 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +version: 2 +jobs: + build: + branches: + only: + - master + - develop + + docker: + - image: ubuntu:trusty + + steps: + - checkout + + - run: + name: Install package dependencies + command: sudo apt-get update && sudo apt-get install -y build-essential cmake openmpi-bin libopenmpi-dev python-dev libvtk6 libvtk6-dev + + - run: + name: Configure LIGGGHTS build + command: mkdir -p build && cd build && cmake ../src/ + + - run: + name: Build LIGGGHTS + command: cd build && make -j2 + no_output_timeout: 30m