summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2022-11-25 11:55:57 +0100
committerMarc Glisse <marc.glisse@inria.fr>2022-11-25 11:55:57 +0100
commite591a9564ddf31befd153acd088e19b50421807c (patch)
treea11453c26c0e4d2eb42a7321a791fd09b1e0fb11
parent99cb6c464b103a05cddd65fa88a9c341f1b384bc (diff)
CircleCI tweak
-rw-r--r--.circleci/config.yml39
1 files changed, 26 insertions, 13 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index ad6f0e3f..fc363ea7 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -9,10 +9,11 @@ jobs:
- image: gudhi/ci_for_gudhi:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test examples
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GUDHI_EXAMPLE=ON -DWITH_GUDHI_TEST=OFF -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=OFF ..
@@ -24,10 +25,11 @@ jobs:
- image: gudhi/ci_for_gudhi:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test unitary tests
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_TEST=ON -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=OFF ..
@@ -39,10 +41,11 @@ jobs:
- image: gudhi/ci_for_gudhi:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test utilities
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_TEST=OFF -DWITH_GUDHI_UTILITIES=ON -DWITH_GUDHI_PYTHON=OFF ..
@@ -54,10 +57,11 @@ jobs:
- image: gudhi/ci_for_gudhi:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test python module. Generates and tests the python documentation
command: |
- git submodule update --init
mkdir build
cd build
cmake -DWITH_GUDHI_THIRD_PARTY=OFF -DUSER_VERSION_DIR=version ..
@@ -84,10 +88,11 @@ jobs:
- image: gudhi/doxygen_for_gudhi:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Generates the C++ documentation with doxygen
command: |
- git submodule update --init
mkdir build
cd build
cmake -DWITH_GUDHI_THIRD_PARTY=OFF -DUSER_VERSION_DIR=version ..
@@ -114,10 +119,11 @@ jobs:
- image: gudhi/ci_for_gudhi_wo_cgal:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test examples without cgal and eigen
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GUDHI_EXAMPLE=ON -DWITH_GUDHI_TEST=OFF -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=OFF ..
@@ -129,10 +135,11 @@ jobs:
- image: gudhi/ci_for_gudhi_wo_cgal:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test unitary tests without cgal and eigen
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_TEST=ON -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=OFF ..
@@ -144,10 +151,11 @@ jobs:
- image: gudhi/ci_for_gudhi_wo_cgal:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test utilities without cgal and eigen
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_TEST=OFF -DWITH_GUDHI_UTILITIES=ON -DWITH_GUDHI_PYTHON=OFF ..
@@ -159,10 +167,11 @@ jobs:
- image: gudhi/ci_for_gudhi_wo_cgal:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test python module without cgal and eigen
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=ON -DPython_ADDITIONAL_VERSIONS=3 ..
@@ -178,10 +187,11 @@ jobs:
- image: gudhi/ci_for_gudhi_wo_cgal:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test examples without cgal
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/eigen-3.3.9 -DWITH_GUDHI_EXAMPLE=ON -DWITH_GUDHI_TEST=OFF -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=OFF ..
@@ -193,10 +203,11 @@ jobs:
- image: gudhi/ci_for_gudhi_wo_cgal:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test unitary tests without cgal
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/eigen-3.3.9 -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_TEST=ON -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=OFF ..
@@ -208,10 +219,11 @@ jobs:
- image: gudhi/ci_for_gudhi_wo_cgal:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test utilities without cgal
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/eigen-3.3.9 -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_TEST=OFF -DWITH_GUDHI_UTILITIES=ON -DWITH_GUDHI_PYTHON=OFF ..
@@ -223,10 +235,11 @@ jobs:
- image: gudhi/ci_for_gudhi_wo_cgal:latest
steps:
- checkout
+ - run: git submodule sync
+ - run: git submodule update --init
- run:
name: Build and test python module without cgal
command: |
- git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/eigen-3.3.9 -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=ON -DPython_ADDITIONAL_VERSIONS=3 ..