mirror of
https://github.com/ParticulateFlow/LIGGGHTS-PFM.git
synced 2025-12-08 06:47:43 +00:00
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:
26
.circleci/config.yml
Normal file
26
.circleci/config.yml
Normal 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
|
||||
Reference in New Issue
Block a user