File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ trigger :
2+ branches :
3+ include :
4+ - master
5+ tags :
6+ include :
7+ - v*
8+ paths :
9+ include :
10+ - ' *'
11+ exclude :
12+ - README.md
13+ - docs/*
14+ pr :
15+ branches :
16+ include :
17+ - ' *'
18+ paths :
19+ include :
20+ - ' *'
21+ exclude :
22+ - README.md
23+ - docs/*
24+
25+ pool :
26+ vmImage : ' macOS-10.14'
27+ steps :
28+ - checkout : self
29+ submodules : true
30+ - script : git clone --recursive --branch fix_android_build https://github.com/daquexian/onnxruntime $(Agent.HomeDirectory)/onnxruntime
31+ displayName : Clone ONNX Runtime
32+ - script : rm -rf $(Agent.HomeDirectory)/onnxruntime/cmake/external/DNNLibrary && cp -r $(Build.SourcesDirectory) $(Agent.HomeDirectory)/onnxruntime/cmake/external/DNNLibrary
33+ displayName : Copy latest DNNLibrary
34+ - script : pip install cmake==3.13.2.post1 && alias cmake=/usr/local/bin/cmake && cmake --version && brew install coreutils
35+ displayName : Install cmake 3.13 and coreutils
36+ - script : echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --install 'ndk-bundle'
37+ displayName : Install Android NDK
38+ - script : tools/ci_build/build.py --android --build_dir build --android_ndk $ANDROID_HOME/ndk-bundle --android_abi=x86_64 --skip_submodule_sync --parallel --use_dnnlibrary
39+ workingDirectory : $(Agent.HomeDirectory)/onnxruntime
40+ displayName : Build and Test on Android Emulator
You can’t perform that action at this time.
0 commit comments