Skip to content

Commit

Permalink
CI:add rpi 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 10, 2023
1 parent ea956e0 commit 92edf0a
Showing 1 changed file with 59 additions and 1 deletion.
60 changes: 59 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variables:
libiioPipelineId: 9
libad9361iioPipelineId: 10
libad9166iioPipelineId: 11
libad9166iioPipelineId: 41

trigger:
- main
Expand Down Expand Up @@ -89,6 +89,64 @@ jobs:
- script: ./CI/travis/make_linux
displayName: "Build"

- job: rpiBuilds
workspace:
clean: all
strategy:
matrix:
rpi_arm:
poolName: 'Default'
vmImage:
agentName: 'iio-osc_rpi'
OS_TYPE: 'arm32v7/debian_docker'
OS_VERSION: 'buster'
artifactName: 'Linux-RPI-ARM'
pool:
name: $(poolName)
vmImage: $(vmImage)
demands:
- agent.name -equals $(agentName)
steps:
- checkout: self
fetchDepth: 1
clean: true
- task: DownloadPipelineArtifact@2
displayName: 'Get libiio artifacts'
inputs:
source: 'specific'
project: '$(System.TeamProjectId)'
pipeline: $(libiioPipelineId)
artifact: 'Ubuntu-arm32v7'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
path: '$(Agent.BuildDirectory)/s/build/'
- task: DownloadPipelineArtifact@2
displayName: 'Get libad9361-iio artifacts'
inputs:
source: 'specific'
project: '$(System.TeamProjectId)'
pipeline: $(libad9361iioPipelineId)
artifact: 'Ubuntu-arm32v7'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
path: '$(Agent.BuildDirectory)/s/build/'
- task: DownloadPipelineArtifact@2
displayName: 'Get libad9166-iio artifacts'
inputs:
source: 'specific'
project: '$(System.TeamProjectId)'
pipeline: $(libad9166iioPipelineId)
artifact: 'Ubuntu-arm32v7'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
path: '$(Agent.BuildDirectory)/s/build/'
- script: |
ls -al $(Agent.BuildDirectory)/s/build
sudo dpkg -i $(Agent.BuildDirectory)/s/build/*.deb
displayName: "Install Dependencies"
- script: ./CI/travis/make_linux
displayName: "Build"

- job: macOSBuilds
strategy:
matrix:
Expand Down

0 comments on commit 92edf0a

Please sign in to comment.