summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2020-03-17 13:57:29 +0100
committerMarc Glisse <marc.glisse@inria.fr>2020-03-17 13:57:29 +0100
commit2d3ab6a6a93c272827624e55ef39b093b3a9805b (patch)
tree08b278460a8d3212b3dcd03c2a5c06c77c7cf0c0 /azure-pipelines.yml
parent55c1385419edd4e152df219dfff596d2631367f1 (diff)
parent559df19e65a7e2d45af9cc85e06af14b86d06009 (diff)
Merge remote-tracking branch 'origin/master' into gen2
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
new file mode 100644
index 00000000..95b15db2
--- /dev/null
+++ b/azure-pipelines.yml
@@ -0,0 +1,38 @@
+jobs:
+
+ - job: 'Test'
+ displayName: "Build and test"
+ timeoutInMinutes: 0
+ cancelTimeoutInMinutes: 60
+
+ strategy:
+ matrix:
+ macOSrelease:
+ imageName: 'macos-10.14'
+ CMakeBuildType: Release
+ customInstallation: 'brew update && brew install graphviz doxygen boost eigen gmp mpfr tbb cgal'
+
+ pool:
+ vmImage: $(imageName)
+
+ steps:
+ - task: UsePythonVersion@0
+ inputs:
+ versionSpec: '3.7'
+ architecture: 'x64'
+
+ - script: |
+ $(customInstallation)
+ git submodule update --init
+ python -m pip install --upgrade pip
+ python -m pip install --user -r .github/build-requirements.txt
+ python -m pip install --user -r .github/test-requirements.txt
+ displayName: 'Install build dependencies'
+ - script: |
+ 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
+ make doxygen
+ ctest -j 8 --output-on-failure -E sphinx # remove sphinx build as it fails
+ displayName: 'Build, test and documentation generation'