Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Many const to remove a mutable (TODO--).
[simgrid.git] / .circleci / config.yml
index 1a865ab..9289a30 100644 (file)
@@ -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