Skip to content

Commit

Permalink
CI:add bullseye 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 21, 2023
1 parent 8abd43e commit 3eb0a04
Showing 1 changed file with 61 additions and 1 deletion.
62 changes: 61 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,67 @@ stages:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifactName: '$(artifactName)'

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

- job: debianBuilds
pool:
vmImage: "ubuntu-latest"
strategy:
matrix:
ubuntu-ppc64le:
image: 'tfcollins/libiio_debian_bullseye-ci:latest'
arch: ppc64le
artifactName: 'Linux-Debian-11'
container: $[ variables['image'] ]
steps:
- checkout: self
fetchDepth: 1
clean: true
persistCredentials: true
- task: DownloadPipelineArtifact@2
inputs:
source: 'specific'
project: '$(System.TeamProjectId)'
pipeline: $(libiioPipelineId)
artifact: '$(artifactName)'
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: '$(artifactName)'
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: '$(artifactName)'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
path: '$(Agent.BuildDirectory)/s/download/'
displayName: 'Get libad9166-iio artifacts'
- script: |
set -e
lscpu
echo "************************************************"
sudo apt-get update
sudo apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
sudo apt-get install -y g++-arm-linux-gnueabihf
sudo apt-get install -y g++-aarch64-linux-gnu
sudo apt-get install -y qemu-system-ppc64
sudo apt-get install qemu binfmt-support qemu-user-static
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
displayName: "Setup"
########################################
# !!! Uncomment macOSBuilds when will be added fixes on development side !!!

#- job: macOSBuilds
Expand Down

0 comments on commit 3eb0a04

Please sign in to comment.