Skip to content

Commit 241ab7e

Browse files
bia1708nunojsa
authored andcommitted
ci: Add Microblaze builds
Use artifacts provided by the analogdevicesinc/buildroot pipeline (the rootfs for Microblaze) and a standalone cross compiler to run the specific method for Microblaze from `run-build.sh` script. Signed-off-by: bia1708 <bianca-maria.popu@analog.com>
1 parent 3b252ba commit 241ab7e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

azure-pipelines.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,35 @@ stages:
9191
- script: ./ci/travis/run-build.sh
9292
displayName: 'Check Is New ADI Driver & Dual Licensed'
9393

94+
- job: microblaze_build_test
95+
variables:
96+
BUILD_TYPE: microblaze
97+
DTS_FILES: "arch/microblaze/boot/dts/*.dts"
98+
steps:
99+
- checkout: self
100+
fetchDepth: 1
101+
clean: true
102+
- task: DownloadPipelineArtifact@2
103+
inputs:
104+
buildType: 'specific'
105+
project: 'OpenSource'
106+
definition: 56 # The ID of the buildroot pipeline to download microblaze rootfs
107+
buildVersionToDownload: 'latest'
108+
artifactName: 'mb_rootfs'
109+
targetPath: '$(Agent.BuildDirectory)/s'
110+
- script: ./ci/travis/run-build.sh
111+
env:
112+
DOWNLOAD_URL: $(DOWNLOAD_URL)
113+
displayName: 'Microblaze Build Test'
114+
- task: CopyFiles@2
115+
inputs:
116+
sourceFolder: '$(Agent.BuildDirectory)/s/arch/microblaze/boot'
117+
contents: '?(*.strip)'
118+
targetFolder: '$(Build.ArtifactStagingDirectory)'
119+
- task: PublishPipelineArtifact@1
120+
inputs:
121+
targetPath: '$(Build.ArtifactStagingDirectory)'
122+
artifactName: 'Microblaze'
94123

95124
- job: dtb_build_test
96125
variables:

0 commit comments

Comments
 (0)