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 <raluca.groza@analog.com>
  • Loading branch information
ccraluca committed Aug 10, 2023
1 parent ea956e0 commit 08f80e7
Showing 1 changed file with 58 additions and 1 deletion.
59 changes: 58 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,63 @@ 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'
PACKAGE_TO_INSTALL: 'build/*.deb'
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: ./CI/travis/before_install_linux
displayName: "Install Dependencies"
- script: ./CI/travis/make_linux
displayName: "Build"

- job: macOSBuilds
strategy:
matrix:
Expand Down

0 comments on commit 08f80e7

Please sign in to comment.