Downloads findconnectedport for Universal Package
This commit is contained in:
Родитель
3d317db60c
Коммит
26f2e6d38d
|
@ -448,6 +448,19 @@ jobs:
|
|||
vstsPackageVersion: "1.0.1"
|
||||
downloadDirectory: "$(System.ArtifactsDirectory)/depthengineplugin"
|
||||
|
||||
- task: UniversalPackages@0
|
||||
displayName: 'Download findconnectedport'
|
||||
inputs:
|
||||
command: download
|
||||
vstsFeed: 'analog.ai.depthcamera'
|
||||
vstsFeedPackage: 'findconnectedport'
|
||||
vstsPackageVersion: "0.1.1"
|
||||
downloadDirectory: "$(System.ArtifactsDirectory)/findconnectedport"
|
||||
|
||||
- script: 'chmod +x $(System.ArtifactsDirectory)/findconnectedport/linux/*'
|
||||
workingDirectory: '$(System.ArtifactsDirectory)'
|
||||
displayName: 'Add execution property to findconnectedport'
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: "Copy DepthEnginePlugin into LD_LIBRARY_PATH"
|
||||
inputs:
|
||||
|
@ -480,8 +493,8 @@ jobs:
|
|||
|
||||
# The binary is built from https://microsoft.visualstudio.com/Analog/_git/systems.rustyhmdkit
|
||||
# Wait a little bit so the device can enumerate, 3 seconds has seemed good.
|
||||
- script: '$(Agent.HomeDirectory)/bin/findconnectedport-linux/findconnectedport && sleep 3'
|
||||
workingDirectory: '$(Agent.HomeDirectory)/bin/findconnectedport-linux/'
|
||||
- script: '$(System.ArtifactsDirectory)/findconnectedport/linux/findconnectedport && sleep 3'
|
||||
workingDirectory: '$(System.ArtifactsDirectory)/findconnectedport/linux/'
|
||||
displayName: 'Reset K4A Device'
|
||||
|
||||
- script: './x86_64-linux-clang-relwithdebinfo/bin/enumerate_devices'
|
||||
|
@ -500,6 +513,6 @@ jobs:
|
|||
continueOnError: true
|
||||
|
||||
# The binary is built from https://microsoft.visualstudio.com/Analog/_git/systems.rustyhmdkit
|
||||
- script: '$(Agent.HomeDirectory)/bin/findconnectedport-linux/findconnectedport'
|
||||
workingDirectory: '$(Agent.HomeDirectory)/bin/findconnectedport-linux/'
|
||||
- script: '$(System.ArtifactsDirectory)/findconnectedport/linux/findconnectedport'
|
||||
workingDirectory: '$(System.ArtifactsDirectory)/findconnectedport/linux/'
|
||||
displayName: 'Reset K4A Device'
|
||||
|
|
Загрузка…
Ссылка в новой задаче