mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-09 22:58:17 -05:00
Ex CI: fix rocm-cmake tests, update component branch names (#4433)
This commit is contained in:
@@ -8,7 +8,6 @@ parameters:
|
|||||||
- name: aptPackages
|
- name: aptPackages
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- cmake
|
|
||||||
- doxygen
|
- doxygen
|
||||||
- doxygen-doc
|
- doxygen-doc
|
||||||
- ninja-build
|
- ninja-build
|
||||||
@@ -18,7 +17,9 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- cget
|
- cget
|
||||||
|
- cmake==3.20.5
|
||||||
- ninja
|
- ninja
|
||||||
|
- rocm-docs-core
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: rocm_cmake
|
- job: rocm_cmake
|
||||||
@@ -33,21 +34,29 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: Add CMake to PATH
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: echo "##vso[task.prependpath]$(python3 -m site --user-base)/bin"
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
# extra steps for ctest suite
|
- task: Bash@3
|
||||||
- script: |
|
displayName: CTest setup
|
||||||
python -m pip install -r $(Build.SourcesDirectory)/docs/requirements.txt
|
inputs:
|
||||||
python -m pip install -r $(Build.SourcesDirectory)/test/docsphinx/docs/.sphinx/requirements.txt
|
targetType: inline
|
||||||
git config --global user.email "you@example.com"
|
script: |
|
||||||
git config --global user.name "Your Name"
|
python -m pip install -r $(Build.SourcesDirectory)/docs/requirements.txt
|
||||||
displayName: "ctest setup"
|
python -m pip install -r $(Build.SourcesDirectory)/test/docsphinx/docs/.sphinx/requirements.txt
|
||||||
|
git config --global user.email "you@example.com"
|
||||||
|
git config --global user.name "Your Name"
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: rocm-cmake
|
componentName: rocm-cmake
|
||||||
|
testParameters: '-E "pass-version-parent" -VV --output-on-failure --force-new-ctest-process --output-junit test_output.xml'
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
|
|||||||
@@ -222,13 +222,13 @@ parameters:
|
|||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocm-examples:
|
rocm-examples:
|
||||||
pipelineId: $(ROCM_EXAMPLES_PIPELINE_ID)
|
pipelineId: $(ROCM_EXAMPLES_PIPELINE_ID)
|
||||||
stagingBranch: develop
|
stagingBranch: amd-staging
|
||||||
mainlineBranch: develop
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocminfo:
|
rocminfo:
|
||||||
pipelineId: $(ROCMINFO_PIPELINE_ID)
|
pipelineId: $(ROCMINFO_PIPELINE_ID)
|
||||||
stagingBranch: amd-staging
|
stagingBranch: amd-staging
|
||||||
mainlineBranch: amd-master
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocMLIR:
|
rocMLIR:
|
||||||
pipelineId: $(ROCMLIR_PIPELINE_ID)
|
pipelineId: $(ROCMLIR_PIPELINE_ID)
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ parameters:
|
|||||||
- aomp
|
- aomp
|
||||||
- HIPIFY
|
- HIPIFY
|
||||||
- MIVisionX
|
- MIVisionX
|
||||||
- rocm-cmake
|
|
||||||
- rocm_smi_lib
|
- rocm_smi_lib
|
||||||
- rocprofiler-sdk
|
- rocprofiler-sdk
|
||||||
- roctracer
|
- roctracer
|
||||||
|
|||||||
Reference in New Issue
Block a user