blob: 95b15db2c8a4d0f5f59ef931e11611887d99dd3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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'
|