Skip to content

Commit

Permalink
CI:add rpi4 build
Browse files Browse the repository at this point in the history
Signed-off-by: Raluca Groza <[email protected]>
  • Loading branch information
ccraluca committed Aug 22, 2023
1 parent 6f90e19 commit f71c0d6
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,63 @@ stages:

#######################################

- job: RPIBuilds
pool:
name: Default
demands:
- agent.name -equals iio-osc_rpi
workspace:
clean: all
steps:
- checkout: self
fetchDepth: 1
clean: true
persistCredentials: true
- task: DownloadPipelineArtifact@2
inputs:
source: 'specific'
project: '$(System.TeamProjectId)'
pipeline: $(libiioPipelineId)
artifact: 'Ubuntu-arm32v7'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
path: '$(Agent.BuildDirectory)/s/download/'
displayName: 'Get libiio artifacts'
- task: DownloadPipelineArtifact@2
inputs:
source: 'specific'
project: '$(System.TeamProjectId)'
pipeline: $(libad9361iioPipelineId)
artifact: 'Ubuntu-arm32v7'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
path: '$(Agent.BuildDirectory)/s/download/'
displayName: 'Get libad9361-iio artifacts'
- task: DownloadPipelineArtifact@2
inputs:
source: 'specific'
project: '$(System.TeamProjectId)'
pipeline: $(libad9166iioPipelineId)
artifact: 'Ubuntu-arm32v7'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
path: '$(Agent.BuildDirectory)/s/download/'
displayName: 'Get libad9166-iio artifacts'
- script: |
sudo dpkg -i ./download/*.deb
displayName: 'Install Dependencies'
- script: |
mkdir build && cd build
cmake ../
make -j9
displayName: 'Build'
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifactName: 'RPI4-Bullseye'

#######################################

- job: ARMBuilds
# Host Box
pool:
Expand Down

0 comments on commit f71c0d6

Please sign in to comment.