diff options
-rw-r--r-- | azure-pipelines.yml | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3ab2f112..7b5334a7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,16 +6,10 @@ jobs: cancelTimeoutInMinutes: 60 pool: vmImage: macOS-10.14 - strategy: - matrix: - Python36: - python.version: '3.6' - CMakeBuildType: Release - customInstallation: 'brew update && brew install graphviz doxygen boost eigen gmp mpfr tbb cgal' - #Python37: - # python.version: '3.7' - #Python38: - # python.version: '3.8' + variables: + pythonVersion: '3.6' + cmakeBuildType: Release + customInstallation: 'brew update && brew install graphviz doxygen boost eigen gmp mpfr tbb cgal' steps: - bash: echo "##vso[task.prependpath]$CONDA/bin" @@ -26,7 +20,7 @@ jobs: - bash: | source activate gudhi_build_env - sudo conda install --yes --quiet --name gudhi_build_env python=$PYTHON_VERSION + sudo conda install --yes --quiet --name gudhi_build_env python=$(pythonVersion) python -m pip install --user -r .github/build-requirements.txt python -m pip install --user -r .github/test-requirements.txt $(customInstallation) @@ -36,8 +30,8 @@ jobs: git submodule update --init mkdir build cd build - cmake -DCMAKE_BUILD_TYPE:STRING=$(CMakeBuildType) -DWITH_GUDHI_TEST=ON -DWITH_GUDHI_UTILITIES=ON -DWITH_GUDHI_PYTHON=ON -DPython_ADDITIONAL_VERSIONS=3 .. - make + cmake -DCMAKE_BUILD_TYPE:STRING=$(cmakeBuildType) -DWITH_GUDHI_TEST=ON -DWITH_GUDHI_UTILITIES=ON -DWITH_GUDHI_PYTHON=ON -DPython_ADDITIONAL_VERSIONS=3 .. + make -j 4 make doxygen - ctest -j 8 --output-on-failure # -E sphinx remove sphinx build as it fails + ctest -j 4 --output-on-failure -E sphinx # remove sphinx build as it fails displayName: 'Build, test and documentation generation' |