File tree Expand file tree Collapse file tree 1 file changed +36
-2
lines changed
Expand file tree Collapse file tree 1 file changed +36
-2
lines changed Original file line number Diff line number Diff line change 1+ resources :
2+ repositories :
3+ - repository : openvino
4+ type : github
5+ endpoint : openvinotoolkit
6+ name : openvinotoolkit/openvino
7+
18jobs :
29- job : Lin
3-
410 # About 150% of total time
511 timeoutInMinutes : 60
612
1420 WORKERS_NUMBER : 8
1521 BUILD_TYPE : Release
1622 REPO_DIR : $(Build.Repository.LocalPath)
23+ OPENVINO_REPO_DIR : $(REPO_DIR)/../openvino
1724 WORK_DIR : $(Pipeline.Workspace)/_w
18- OPENVINO_REPO_DIR : $(WORK_DIR)/openvino
1925 BUILD_DIR : $(WORK_DIR)/build
26+ BUILD_OPENVINO_DIR : $(WORK_DIR)/build_openvino
2027
2128 steps :
2229 - script : |
4148 - script : |
4249 rm -rf $(WORK_DIR) ; mkdir $(WORK_DIR)
4350 rm -rf $(BUILD_DIR) ; mkdir $(BUILD_DIR)
51+ rm -rf $(BUILD_OPENVINO_DIR) ; mkdir $(BUILD_OPENVINO_DIR)
4452 displayName: 'Make dir'
4553
4654 - checkout : self
4957 submodules : recursive
5058 path : openvino_contrib
5159
60+ - checkout : openvino
61+ clean : true
62+ lfs : false
63+ submodules : recursive
64+ path : openvino
65+
66+ - script : |
67+ sudo apt --assume-yes install libusb-1.0-0-dev
68+ displayName: 'Install dependencies'
69+
70+ - script : |
71+ wget https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-linux.zip
72+ unzip ninja-linux.zip
73+ sudo cp -v ninja /usr/local/bin/
74+ workingDirectory: $(WORK_DIR)
75+ displayName: 'Install Ninja'
76+
77+ - task : CMake@1
78+ inputs :
79+ cmakeArgs : -GNinja -DVERBOSE_BUILD=ON -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) $(OPENVINO_REPO_DIR)
80+ workingDirectory : $(BUILD_OPENVINO_DIR)
81+
82+ - script : ninja
83+ workingDirectory : $(BUILD_OPENVINO_DIR)
84+ displayName : ' Build OpenVINO'
85+
You can’t perform that action at this time.
0 commit comments