summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-03-05 10:16:51 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-03-05 10:16:51 +0100
commite1dbf6da118615e20d2b642df98b7d3df7cfd8c7 (patch)
treeef64ef3a023cb38835f526f6732f3194c215c962 /azure-pipelines.yml
parentd2943b9e7311c8a3d8a4fb379c39b15497481b9c (diff)
Remove travis and use appveyor for OSx. Fix parallel test by setting tests dependencies
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
new file mode 100644
index 00000000..77e0ac88
--- /dev/null
+++ b/azure-pipelines.yml
@@ -0,0 +1,44 @@
+trigger:
+ batch: true
+ branches:
+ include:
+ - '*' # All branches
+
+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'