aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates/job-uhd-build-src.yml
diff options
context:
space:
mode:
Diffstat (limited to '.ci/templates/job-uhd-build-src.yml')
-rw-r--r--.ci/templates/job-uhd-build-src.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/.ci/templates/job-uhd-build-src.yml b/.ci/templates/job-uhd-build-src.yml
index a5909388a..25f8b4897 100644
--- a/.ci/templates/job-uhd-build-src.yml
+++ b/.ci/templates/job-uhd-build-src.yml
@@ -3,10 +3,15 @@ parameters:
type: string
values:
- make
+ - make_custom_boost_version
- make_trace
- ninja
- msbuild
- ubuntu_deb
+- name: 'custom_boost_version_url'
+ type: string
+ default: 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2'
+
jobs:
- job: build_ctest_and_upload_uhd_${{ parameters.toolset }}
@@ -35,7 +40,7 @@ jobs:
strategy:
${{ if eq(parameters.toolset, 'msbuild') }}:
matrix: $[ variables.dockerImageMatrixWin ]
- ${{ if or(eq(parameters.toolset, 'make'), eq(parameters.toolset, 'make_trace'), eq(parameters.toolset, 'ninja')) }}:
+ ${{ if or(eq(parameters.toolset, 'make'), eq(parameters.toolset, 'make_trace'), eq(parameters.toolset, 'ninja'), eq(parameters.toolset, 'make_custom_boost_version')) }}:
matrix: $[ variables.dockerImageMatrixLin ]
${{ if eq(parameters.toolset, 'ubuntu_deb') }}:
matrix: $[ variables.dockerImageMatrixUbuntuDeb ]
@@ -87,6 +92,14 @@ jobs:
uhdBuildDir: $(Build.BinariesDirectory)/uhddev
ubuntuReleaseName: $(ubuntuReleaseName)
+ - ${{ if eq(parameters.toolset, 'make_custom_boost_version') }}:
+ - template: steps-build-uhd-make.yml
+ parameters:
+ uhdSrcDir: $(Build.SourcesDirectory)
+ uhdBuildDir: $(Build.BinariesDirectory)/uhddev/build
+ uhdCustomBoostPackage: true
+ uhdCustomBoostPackageURL: ${{ parameters.custom_boost_version_url }}
+
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: $(Build.BinariesDirectory)