Skip to content

Commit

Permalink
swap wheel and normal windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine authored Dec 13, 2021
1 parent eb93f1e commit fe8920a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -386,15 +386,15 @@ jobs:
- job: "Windows"
pool:
vmImage: "windows-2019"
condition: or(startsWith(variables['build.sourceBranch'], 'refs/tags/v'), eq(variables['Build.Reason'], 'Schedule'), eq(variables['Build.Reason'], 'Manual'))

strategy:
matrix:
Python37:
python.version: "3.7"
python_flag: ""
artifact_name: "cp37-cp37m-win64_amd"
Python38:
? ${{ if or(startsWith(variables['build.sourceBranch'], 'refs/tags/v'), eq(variables['Build.Reason'], 'Schedule'), eq(variables['Build.Reason'], 'Manual')) }}
: Python38:
python.version: "3.8"
python_flag: "--python38"
artifact_name: "cp38-cp38m-win64_amd"
Expand All @@ -413,23 +413,22 @@ jobs:
- job: "Windows_Wheels"
pool:
vmImage: "windows-2019"
condition: or(startsWith(variables['build.sourceBranch'], 'refs/tags/v'), eq(variables['Build.Reason'], 'Schedule'), eq(variables['Build.Reason'], 'Manual'))

strategy:
matrix:
Python37:
python.version: "3.7"
python_flag: ""
artifact_name: "cp37-cp37m-win64_amd"

? ${{ if or(startsWith(variables['build.sourceBranch'], 'refs/tags/v'), eq(variables['Build.Reason'], 'Schedule'), eq(variables['Build.Reason'], 'Manual')) }}
: Python38:
python.version: "3.8"
python_flag: "--python38"
artifact_name: "cp38-cp38m-win64_amd"
Python39:
python.version: "3.9"
python_flag: "--python39"
artifact_name: "cp39-cp39m-win64_amd"
Python38:
python.version: "3.8"
python_flag: "--python38"
artifact_name: "cp38-cp38m-win64_amd"
Python39:
python.version: "3.9"
python_flag: "--python39"
artifact_name: "cp39-cp39m-win64_amd"

steps:
- ${{ parameters.initSteps }}
Expand Down

0 comments on commit fe8920a

Please sign in to comment.