diff --git a/.azuredevops/components/rocm-cmake.yml b/.azuredevops/components/rocm-cmake.yml index affa59e10..8f41c45da 100644 --- a/.azuredevops/components/rocm-cmake.yml +++ b/.azuredevops/components/rocm-cmake.yml @@ -8,7 +8,6 @@ parameters: - name: aptPackages type: object default: - - cmake - doxygen - doxygen-doc - ninja-build @@ -18,7 +17,9 @@ parameters: type: object default: - cget + - cmake==3.20.5 - ninja + - rocm-docs-core jobs: - job: rocm_cmake @@ -33,21 +34,29 @@ jobs: parameters: aptPackages: ${{ parameters.aptPackages }} 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/checkout.yml parameters: checkoutRepo: ${{ parameters.checkoutRepo }} - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml -# extra steps for ctest suite - - script: | - python -m pip install -r $(Build.SourcesDirectory)/docs/requirements.txt - 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" - displayName: "ctest setup" + - task: Bash@3 + displayName: CTest setup + inputs: + targetType: inline + script: | + python -m pip install -r $(Build.SourcesDirectory)/docs/requirements.txt + 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 parameters: 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/artifact-upload.yml - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml diff --git a/.azuredevops/templates/steps/dependencies-rocm.yml b/.azuredevops/templates/steps/dependencies-rocm.yml index 8de6518da..b6c7454c3 100644 --- a/.azuredevops/templates/steps/dependencies-rocm.yml +++ b/.azuredevops/templates/steps/dependencies-rocm.yml @@ -222,13 +222,13 @@ parameters: hasGpuTarget: false rocm-examples: pipelineId: $(ROCM_EXAMPLES_PIPELINE_ID) - stagingBranch: develop - mainlineBranch: develop + stagingBranch: amd-staging + mainlineBranch: amd-mainline hasGpuTarget: true rocminfo: pipelineId: $(ROCMINFO_PIPELINE_ID) stagingBranch: amd-staging - mainlineBranch: amd-master + mainlineBranch: amd-mainline hasGpuTarget: false rocMLIR: pipelineId: $(ROCMLIR_PIPELINE_ID) diff --git a/.azuredevops/templates/steps/test.yml b/.azuredevops/templates/steps/test.yml index 378d39f8f..f624ae1ae 100644 --- a/.azuredevops/templates/steps/test.yml +++ b/.azuredevops/templates/steps/test.yml @@ -33,7 +33,6 @@ parameters: - aomp - HIPIFY - MIVisionX - - rocm-cmake - rocm_smi_lib - rocprofiler-sdk - roctracer