jobs: - job: 'Test' displayName: "Build and test" timeoutInMinutes: 0 cancelTimeoutInMinutes: 60 pool: vmImage: macOS-10.15 variables: pythonVersion: '3.6' cmakeBuildType: Release steps: - bash: echo "##vso[task.prependpath]$CONDA/bin" displayName: Add conda to PATH - bash: sudo conda create --yes --quiet --name gudhi_build_env displayName: Create Anaconda environment - bash: | source activate gudhi_build_env 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 brew update || true brew install graphviz doxygen boost eigen gmp mpfr tbb cgal || true displayName: 'Install build dependencies' - bash: | source activate gudhi_build_env 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 -j 4 make doxygen ctest -j 4 --output-on-failure # -E sphinx remove sphinx build as it fails displayName: 'Build, test and documentation generation'