Compare commits

...

10 Commits

Author SHA1 Message Date
David Dixon
b6cc206cda Apply suggestion from @davidd-amd 2025-10-15 22:47:02 -06:00
David Dixon
c00dc5f7ab Apply suggestion from @davidd-amd 2025-10-15 22:46:54 -06:00
David Dixon
f996f6dd75 Update yamlcpp.yml 2025-10-15 22:40:55 -06:00
David Dixon
170e5055dd add config options 2025-10-15 22:31:10 -06:00
David Dixon
326559bd52 Update yaml-cpp.yml for Azure Pipelines 2025-10-15 22:29:03 -06:00
David Dixon
ac93737996 remove hyphen 2025-10-15 22:27:42 -06:00
David Dixon
a8a6a96459 use amdclang for spdlog 2025-10-15 22:22:09 -06:00
David Dixon
a894ed863c use amdclang for fmt 2025-10-15 22:21:34 -06:00
David Dixon
da3cb18b38 Create yaml-cpp.yml 2025-10-15 22:20:49 -06:00
David Dixon
ac3c22a4f7 Create yaml-cpp.yml 2025-10-15 22:19:10 -06:00
2 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
parameters:
- name: checkoutRepo
type: string
default: 'self'
- name: checkoutRef
type: string
default: ''
- name: yamlcppVersion
type: string
default: ''
- name: aptPackages
type: object
default:
- cmake
- git
- ninja-build
- name: jobMatrix
type: object
default:
buildJobs:
- { os: ubuntu2204, packageManager: apt}
- { os: almalinux8, packageManager: dnf}
jobs:
- ${{ each job in parameters.jobMatrix.buildJobs }}:
- job: yamlcpp_${{ job.os }}
variables:
- group: common
- template: /.azuredevops/variables-global.yml
pool:
vmImage: 'ubuntu-22.04'
${{ if eq(job.os, 'almalinux8') }}:
container:
image: rocmexternalcicd.azurecr.io/manylinux228:latest
endpoint: ContainerService3
workspace:
clean: all
steps:
- checkout: none
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
parameters:
aptPackages: ${{ parameters.aptPackages }}
packageManager: ${{ job.packageManager }}
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
- task: Bash@3
displayName: Clone yaml-cpp ${{ parameters.yamlcppVersion }}
inputs:
targetType: inline
script: git clone https://github.com/jbeder/yaml-cpp.git -b ${{ parameters.yamlcppVersion }}
workingDirectory: $(Agent.BuildDirectory)
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
parameters:
os: ${{ job.os }}
cmakeBuildDir: $(Agent.BuildDirectory)/yaml-cpp/build
cmakeSourceDir: $(Agent.BuildDirectory)/yaml-cpp
useAmdclang: false
extraBuildFlags: >-
-DCMAKE_BUILD_TYPE=Release
-DYAML_CPP_BUILD_TOOLS=OFF
-DYAML_BUILD_SHARED_LIBS=OFF
-DYAML_CPP_INSTALL=ON
-GNinja
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
parameters:
os: ${{ job.os }}

View File

@@ -0,0 +1,24 @@
variables:
- group: common
- template: /.azuredevops/variables-global.yml
parameters:
- name: yamlcppVersion
type: string
default: "0.8.0"
resources:
repositories:
- repository: pipelines_repo
type: github
endpoint: ROCm
name: ROCm/ROCm
trigger: none
pr: none
jobs:
- template: ${{ variables.CI_DEPENDENCIES_PATH }}/yamlcpp.yml
parameters:
yamlcppVersion: ${{ parameters.yamlcppVersion }}