Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build windows wheel every time so its tested #1672

Merged
merged 5 commits into from
Dec 13, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
swap wheel and normal windows build
  • Loading branch information
timkpaine authored Dec 13, 2021
commit fe8920a36b4ec1d1c8b640607d75415298cc6862
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