summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-05-05 07:48:16 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-05-05 07:48:16 +0200
commit8da9158e9a2ffb128eb1b5b05d4e8574ff70d771 (patch)
tree3bf0cbdcbe4c10beb95b2c42575c7b44a45e0ea9 /azure-pipelines.yml
parent03b8322e9ded09cc879867008d32baa3a91a45e5 (diff)
Remove sphinx test and matrix
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml22
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'