# This program is free software; you can redistribute it and/or modify it
# under the terms of the license (GNU LGPL) which comes with this package.
-machine:
- python:
- version: 3.6.0
+default: &default
+ docker:
+ - image: simgrid/build
-dependencies:
- pre:
- - sudo apt-get update; sudo apt-get install cmake valgrind default-jdk gfortran libboost-dev libboost-all-dev
-
-test:
- pre:
- - mkdir _build
- - pushd _build ; cmake -Denable_documentation=OFF -Denable_coverage=ON -Denable_java=ON -Denable_model-checking=OFF -Denable_lua=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_compile_warnings=ON ..
- override:
- - pushd _build ; make -j4 && ctest -j4 --output-on-failure
+version: 2.0
+jobs:
+ build:
+ <<: *default
+ steps:
+ - checkout
+ - run:
+ name: Configure, build and test da stuff
+ command: |
+ mkdir _build && cd _build
+ cmake -Denable_documentation=OFF -Denable_coverage=ON -Denable_java=ON -Denable_model-checking=OFF -Denable_lua=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_compile_warnings=ON ..
+ make -j4 && ctest -j4 --output-on-failure