Update ci.yml for Azure Pipelines (#504)
* Update ci.yml for Azure Pipelines macOS ci pipeline fixing. * Update ci.yml for Azure Pipelines * Update ci.yml for Azure Pipelines * drop python 3.8 support in macOS due ADO * fix macos wheel pipeline * revert the change to add 3.9 back.
This commit is contained in:
Родитель
1ac33abd68
Коммит
6209804ee9
|
@ -10,6 +10,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
inputs:
|
inputs:
|
||||||
|
disableDownloadFromRegistry: true
|
||||||
versionSpec: "3.9"
|
versionSpec: "3.9"
|
||||||
addToPath: true
|
addToPath: true
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
|
|
|
@ -177,13 +177,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- template: templates/use-xcode-version.yml
|
- template: templates/use-xcode-version.yml
|
||||||
|
|
||||||
# needed for onnxruntime
|
|
||||||
- script: brew install libomp
|
|
||||||
displayName: 'Install omp'
|
|
||||||
|
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '$(python.version)'
|
versionSpec: '$(python.version)'
|
||||||
|
disableDownloadFromRegistry: true
|
||||||
addToPath: true
|
addToPath: true
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
@ -428,6 +425,7 @@ jobs:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '3.9'
|
versionSpec: '3.9'
|
||||||
|
disableDownloadFromRegistry: true
|
||||||
addToPath: true
|
addToPath: true
|
||||||
architecture: 'x64'
|
architecture: 'x64'
|
||||||
displayName: "Use Python 3.9"
|
displayName: "Use Python 3.9"
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
|
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
inputs:
|
inputs:
|
||||||
|
disableDownloadFromRegistry: true
|
||||||
versionSpec: "3.9"
|
versionSpec: "3.9"
|
||||||
addToPath: true
|
addToPath: true
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче