mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Reduce Objective-C static analysis build time. (#13149)
This commit is contained in:
parent
c26bb1bb19
commit
55ae71c160
1 changed files with 9 additions and 5 deletions
|
|
@ -2,11 +2,15 @@ jobs:
|
|||
- job: ObjCStaticAnalysis
|
||||
|
||||
pool:
|
||||
vmImage: 'macOS-11'
|
||||
vmImage: 'macOS-12'
|
||||
|
||||
timeoutInMinutes: 90
|
||||
timeoutInMinutes: 30
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
submodules: recursive
|
||||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
|
|
@ -24,9 +28,9 @@ jobs:
|
|||
--config Debug \
|
||||
--build_shared_lib --use_coreml --build_objc \
|
||||
--cmake_extra_defines CMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
||||
--update \
|
||||
--build --parallel
|
||||
displayName: Generate compile_commands.json
|
||||
--update --skip_submodule_sync \
|
||||
--build --parallel --target onnx_proto
|
||||
displayName: Generate compile_commands.json and ONNX protobuf files
|
||||
|
||||
- script: |
|
||||
"$(brew --prefix llvm)/bin/clang-tidy" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue