X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a94b5f9c97f056ae94b1d888bd8f342ccedbc523..c73273c8608cc4bb5b684b9a82a5b269014acaba:/.circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a865ab6c5..9289a302d8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,21 +1,23 @@ # This is the configuration file for the https://circleci.com/ continuous integration server # -# Copyright (c) 2017-2018. The SimGrid team. All rights reserved. +# Copyright (c) 2017-2019. The SimGrid team. All rights reserved. # # 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-deps -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=OFF -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_compile_warnings=ON .. + make -j4 tests && ctest -j4 --output-on-failure