mirror of
https://github.com/hanzoai/ROCm.git
synced 2026-11-02 19:03:06 +00:00
- Also, fixes to rocprofiler-sdk when incorporating recent features. - URL encoding algorithm converts trailing '=' in the base64 string to an integer representing the number of those trailing '=' characters.
140 lines
3.3 KiB
YAML
140 lines
3.3 KiB
YAML
parameters:
|
|
- name: dependencySource
|
|
type: string
|
|
default: staging
|
|
values:
|
|
- staging
|
|
- mainline
|
|
- name: rocmDependencies
|
|
type: object
|
|
default:
|
|
- AMDMIGraphX
|
|
- amdsmi
|
|
- aomp-extras
|
|
- aomp
|
|
- composable_kernel
|
|
- half
|
|
- HIP
|
|
- hip-tests
|
|
- hipBLAS
|
|
- hipBLAS-common
|
|
- hipBLASLt
|
|
- hipCUB
|
|
- hipFFT
|
|
- hipfort
|
|
- HIPIFY
|
|
- hipRAND
|
|
- hipSOLVER
|
|
- hipSPARSE
|
|
- hipSPARSELt
|
|
- hipTensor
|
|
- llvm-project
|
|
- MIOpen
|
|
- MIVisionX
|
|
- rccl
|
|
- rdc
|
|
- rocAL
|
|
- rocALUTION
|
|
- rocBLAS
|
|
- ROCdbgapi
|
|
- rocDecode
|
|
- rocFFT
|
|
- ROCgdb
|
|
- rocJPEG
|
|
- rocm-cmake
|
|
- rocm-core
|
|
- rocm-examples
|
|
- rocminfo
|
|
- rocMLIR
|
|
- ROCmValidationSuite
|
|
- rocm_bandwidth_test
|
|
- rocm_smi_lib
|
|
- rocPRIM
|
|
- rocprofiler-compute
|
|
- rocprofiler-register
|
|
- rocprofiler-sdk
|
|
- rocprofiler-systems
|
|
- rocprofiler
|
|
- rocPyDecode
|
|
- ROCR-Runtime
|
|
- rocRAND
|
|
- rocr_debug_agent
|
|
- rocSOLVER
|
|
- rocSPARSE
|
|
- rocThrust
|
|
- roctracer
|
|
- rocWMMA
|
|
- rpp
|
|
- TransferBench
|
|
|
|
trigger: none
|
|
pr: none
|
|
schedules:
|
|
- cron: '30 7 * * *'
|
|
displayName: Nightly build
|
|
branches:
|
|
include:
|
|
- develop
|
|
always: true
|
|
|
|
jobs:
|
|
- job: rocm_nightly
|
|
variables:
|
|
- group: common
|
|
- template: /.azuredevops/variables-global.yml
|
|
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
|
workspace:
|
|
clean: all
|
|
strategy:
|
|
matrix:
|
|
gfx942:
|
|
JOB_GPU_TARGET: gfx942
|
|
steps:
|
|
- task: DeleteFiles@1
|
|
displayName: 'Cleanup checkout space'
|
|
inputs:
|
|
SourceFolder: '$(Agent.BuildDirectory)/s'
|
|
Contents: '**/*'
|
|
- task: DeleteFiles@1
|
|
displayName: 'Cleanup Staging Area'
|
|
inputs:
|
|
SourceFolder: '$(Build.ArtifactStagingDirectory)'
|
|
Contents: '/**/*'
|
|
RemoveDotFiles: true
|
|
- script: df -h
|
|
displayName: System disk space before ROCm
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
|
parameters:
|
|
dependencySource: ${{ parameters.dependencySource }}
|
|
dependencyList: ${{ parameters.rocmDependencies }}
|
|
gpuTarget: $(JOB_GPU_TARGET)
|
|
skipLibraryLinking: true
|
|
skipLlvmSymlink: true
|
|
- script: df -h
|
|
displayName: System disk space after ROCm
|
|
- script: du -sh $(Agent.BuildDirectory)/rocm
|
|
displayName: Uncompressed ROCm size
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
|
- task: ArchiveFiles@2
|
|
displayName: Compress rocm-nightly
|
|
inputs:
|
|
rootFolderOrFile: $(Agent.BuildDirectory)/rocm
|
|
includeRootFolder: false
|
|
archiveType: tar
|
|
tarCompression: gz
|
|
archiveFile: $(Build.ArtifactStagingDirectory)/$(Build.DefinitionName)_$(Build.BuildNumber)_ubuntu2204_$(JOB_GPU_TARGET).tar.gz
|
|
- script: du -sh $(Build.ArtifactStagingDirectory)
|
|
displayName: Compressed ROCm size
|
|
- task: PublishPipelineArtifact@1
|
|
displayName: 'Publish ROCm Nightly Artifact'
|
|
retryCountOnTaskFailure: 3
|
|
inputs:
|
|
targetPath: '$(Build.ArtifactStagingDirectory)'
|
|
- task: Bash@3
|
|
displayName: Save pipeline artifact file name
|
|
inputs:
|
|
workingDirectory: $(Pipeline.Workspace)
|
|
targetType: inline
|
|
script: echo "$(Build.DefinitionName)_$(Build.BuildNumber)_ubuntu2204_$(JOB_GPU_TARGET).tar.gz" >> pipelineArtifacts.txt
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|