From 7d3e9b1266abac4ae76ff6a069ccaff9bb1e3d86 Mon Sep 17 00:00:00 2001 From: Raluca Groza Date: Mon, 21 Aug 2023 15:53:28 +0300 Subject: [PATCH] CI:add rpi4 build Signed-off-by: Raluca Groza --- azure-pipelines.yml | 57 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0243ba9d..cbb5312f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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: