-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update numpy to 1.18
- Loading branch information
Showing
5 changed files
with
15 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 5 additions & 34 deletions
39
tools/ci_build/github/azure-pipelines/mac-nocontribops-ci-pipeline.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,6 @@ | ||
variables: | ||
DisableContribOps: ON | ||
TestDataUrlNoContribOps : https://onnxruntimetestdata.blob.core.windows.net/models/20181210.zip | ||
|
||
jobs: | ||
- job: MacOS_CI_Dev | ||
pool: | ||
vmImage: 'macOS-10.13' | ||
steps: | ||
- template: templates/set-test-data-variables-step.yml | ||
- task: CmdLine@2 | ||
displayName: 'Download azcopy' | ||
inputs: | ||
script: | | ||
curl -so azcopy.tar.gz -L 'https://aka.ms/downloadazcopy-v10-mac' | ||
tar -zxvf azcopy.tar.gz --strip 1 | ||
workingDirectory: $(Build.BinariesDirectory) | ||
- task: PythonScript@0 | ||
displayName: 'Download test data' | ||
inputs: | ||
scriptPath: '$(Build.SourcesDirectory)/tools/ci_build/github/download_test_data.py' | ||
arguments: --test_data_url $(TestDataUrlNoContribOps) --azure_region centralus --build_dir $(Build.BinariesDirectory) | ||
pythonInterpreter: '/usr/local/bin/python3' | ||
workingDirectory: $(Build.BinariesDirectory) | ||
- script: | | ||
sudo python3 -m pip install numpy==1.15.0 | ||
sudo xcode-select --switch /Applications/Xcode_10.app/Contents/Developer | ||
python3 $(Build.SourcesDirectory)/tools/ci_build/build.py --build_dir $(Build.BinariesDirectory) --enable_onnx_tests --skip_submodule_sync --parallel --build_shared_lib --disable_contrib_ops --config Debug Release | ||
displayName: 'Build and Test OnnxRuntime lib for MacOS' | ||
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 | ||
displayName: 'Component Detection' | ||
condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) | ||
|
||
- template: templates/clean-agent-build-directory-step.yml | ||
- template: templates/mac-ci.yml | ||
parameters: | ||
AgentPool : 'Hosted macOS High Sierra' | ||
DoNugetPack: 'false' | ||
BuildCommand: 'python3 $(Build.SourcesDirectory)/tools/ci_build/build.py --use_openmp --build_dir $(Build.BinariesDirectory) --build_wheel --skip_submodule_sync --parallel --build_shared_lib --disable_contrib_ops --enable_onnx_tests --config Debug RelWithDebInfo' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
numpy==1.15.0 | ||
numpy==1.18.0 | ||
requests==2.21.0 | ||
scipy | ||
mypy | ||
|