aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
blob: 05de53403a46be8913d1d1f2f79451d7ade2f5e5 (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
39
40
41
42
43
44
45
46
trigger:
- master

pool:
  vmImage: 'vs2017-win2016'

strategy:
  matrix:
    PY351_32:
      PYVERSION: 3.5.1
      PYARCH: 32
    PY351_64:
      PYVERSION: 3.5.1
      PYARCH: 64
    PY354_32:
      PYVERSION: 3.5.4
      PYARCH: 32
    PY354_64:
      PYVERSION: 3.5.4
      PYARCH: 64
    PY373_32:
      PYVERSION: 3.7.3
      PYARCH: 32
    PY373_64:
      PYVERSION: 3.7.3
      PYARCH: 64

steps:
- powershell: .\download.ps1
  displayName: 'Run the build'

- task: ArchiveFiles@2
  inputs:
    rootFolderOrFile: 'Python-$(PYVERSION)-$(PYARCH)'
    archiveType: 'zip'
    archiveFile: '$(Build.ArtifactStagingDirectory)/Python-$(PYVERSION)-$(PYARCH).zip'

- task: PublishBuildArtifacts@1
  inputs:
    pathtoPublish: '$(Build.ArtifactStagingDirectory)'
    artifactName: '$(PYVERSION)-$(PYARCH)'

- task: PublishBuildArtifacts@1
  inputs:
    pathtoPublish: 'install.log'
    artifactName: '$(PYVERSION)-$(PYARCH)-install.log'