add configuration file for CircleCI

use ubuntu trusty environment
build only master and develop (using cmake)
extend time with no output (e.g. template generation) to 30m (avoid
hangup error)
This commit is contained in:
danielque
2019-04-01 17:50:12 +02:00
parent 0af57d32f9
commit 696bfeefc7

26
.circleci/config.yml Normal file
View File

@ -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