File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed
Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ jobs :
2+ - job : ${{ parameters.name }}
3+ pool :
4+ vmImage : ${{ parameters.vmImage }}
5+ strategy :
6+ matrix :
7+ Python2.7 :
8+ python_version : ' 2.7'
9+ Python3.5 :
10+ python_version : ' 3.5'
11+ Python3.6 :
12+ python_version : ' 3.6'
13+ Python3.7 :
14+ python_version : ' 3.7'
15+
16+ variables :
17+ # Enable fuzzing tests, other expensive tests.
18+ ZSTD_SLOW_TESTS : ' 1'
19+
20+ # Make all compile warnings fatal.
21+ ZSTD_WARNINGS_AS_ERRORS : ' 1'
22+
23+ # More thorough fuzzing coverage.
24+ HYPOTHESIS_PROFILE : ci
25+
26+ steps :
27+ - bash : echo "##vso[task.prependpath]$CONDA/bin"
28+ displayName : Add conda to PATH
29+
30+ - bash : conda create --yes --quiet --name env python=$PYTHON_VERSION
31+ displayName : Create Anaconda environment
32+
33+ - bash : |
34+ source activate env
35+ conda install --yes --quiet --name env conda-build pip
36+ pip install --require-hashes -r ci/requirements.txt
37+ displayName: Install dependencies
38+
39+ - bash : |
40+ source activate env
41+ conda build ci/conda
42+ python ci/copy-conda-package.py
43+ displayName: Build and Test
44+
45+ - task : PublishPipelineArtifact@1
46+ inputs :
47+ path : $(System.DefaultWorkingDirectory)/dist
Original file line number Diff line number Diff line change @@ -111,6 +111,11 @@ jobs:
111111 vmImage : vs2017-win2016
112112 arch : x64
113113
114+ - template : azure-pipelines-anaconda-linux-template.yml
115+ parameters :
116+ name : Linux_Anaconda
117+ vmImage : ubuntu-16.04
118+
114119- template : azure-pipelines-anaconda-windows-template.yml
115120 parameters :
116121 name : Windows_Anaconda
Original file line number Diff line number Diff line change 1313URL = 'https://dev.azure.com/gregoryszorc/python-zstandard/_apis/build/builds/{build}/artifacts?api-version=4.1'
1414
1515FETCH_NAME_PREFIXES = (
16+ 'LinuxAnaconda' ,
1617 'MacOSWheel' ,
1718 'ManyLinuxWheel' ,
1819 'SourceDistribution' ,
You can’t perform that action at this time.
0 commit comments