Skip to content

Commit 2cc4340

Browse files
committed
ENH: Azure Pipelines parallel Conda biuld
1 parent e4c74e1 commit 2cc4340

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

ci/azure-pipelines.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,28 @@ jobs:
6161
displayName: 'Run tests'
6262
6363
- job: 'Conda_Linux'
64+
strategy:
65+
matrix:
66+
Python36:
67+
PYTHON_VERSION: '3.6'
68+
Python37:
69+
PYTHON_VERSION: '3.7'
70+
Python38:
71+
PYTHON_VERSION: '3.5'
6472
pool:
6573
vmImage: 'Ubuntu 16.04'
6674
steps:
6775
- template: conda-steps.yml
6876

6977
- job: 'Conda_macOS'
78+
strategy:
79+
matrix:
80+
Python36:
81+
PYTHON_VERSION: '3.6'
82+
Python37:
83+
PYTHON_VERSION: '3.7'
84+
Python38:
85+
PYTHON_VERSION: '3.5'
7086
pool:
7187
vmImage: 'macOS-10.15'
7288
variables:
@@ -83,8 +99,6 @@ jobs:
8399
- job: 'Conda_Windows'
84100
strategy:
85101
matrix:
86-
Python35:
87-
PYTHON_VERSION: '3.5'
88102
Python36:
89103
PYTHON_VERSION: '3.6'
90104
Python37:

ci/conda-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ steps:
88
- script: |
99
cd conda-recipes
1010
source activate buildEnv
11-
conda build -c vanderaa --output-folder ../conda_packages smurff
11+
conda build --python $(PYTHON_VERSION) -c vanderaa --output-folder ../conda_packages smurff
1212
displayName: Build using 'conda build'
1313
- task: PublishBuildArtifacts@1
1414
inputs: {pathtoPublish: 'conda_packages'}

0 commit comments

Comments
 (0)