[TheRock CI] Adding profiler builds (#1301)

* Adding profiler for TheRock CI

* adding temp test for rocproiler

* Removing subtrees

* PR comment
Цей коміт міститься в:
Geo Min
2025-10-08 14:38:38 -07:00
зафіксовано GitHub
джерело cccc350dc6
коміт 388edb1b57
5 змінених файлів з 15 додано та 13 видалено
-1
Переглянути файл
@@ -9,7 +9,6 @@ import fnmatch
import json
import logging
import subprocess
import sys
from therock_matrix import subtree_to_project_map, project_map
import time
from typing import Mapping, Optional, Iterable
+15 -6
Переглянути файл
@@ -2,17 +2,26 @@
This dictionary is used to map specific file directory changes to the corresponding build flag and tests
"""
subtree_to_project_map = {
"projects/clr": "core",
"projects/hip": "core",
"projects/hip-tests": "core",
"projects/rocminfo": "core",
"projects/rocr-runtime": "core",
'projects/aqlprofile': 'profiler',
'projects/clr': 'core',
'projects/hip': 'core',
'projects/hip-tests': 'core',
'projects/rocminfo': 'core',
'projects/rocprofiler': 'profiler',
'projects/rocprofiler-compute': 'profiler',
'projects/rocprofiler-sdk': 'profiler',
'projects/rocprofiler-systems': 'profiler',
'projects/rocr-runtime': 'core',
'projects/roctracer': 'profiler'
}
project_map = {
"core": {
"cmake_options": "-DTHEROCK_ENABLE_CORE=ON -DTHEROCK_ENABLE_HIP_RUNTIME=ON -DTHEROCK_ENABLE_ALL=OFF",
"project_to_test": "hip-tests",
"subtree_checkout": "projects/clr\nprojects/hip\nprojects/hip-tests\nprojects/rocminfo\nprojects/rocr-runtime",
},
"profiler": {
"cmake_options": "-DTHEROCK_ENABLE_PROFILER=ON -DTHEROCK_ENABLE_ALL=OFF",
"project_to_test": "rocprofiler-tests",
},
}
-2
Переглянути файл
@@ -7,8 +7,6 @@ on:
type: string
project_to_test:
type: string
subtree_checkout:
type: string
permissions:
-2
Переглянути файл
@@ -7,8 +7,6 @@ on:
type: string
project_to_test:
type: string
subtree_checkout:
type: string
permissions:
contents: read
-2
Переглянути файл
@@ -90,7 +90,6 @@ jobs:
with:
cmake_options: ${{ matrix.projects.cmake_options }}
project_to_test: ${{ matrix.projects.project_to_test }}
subtree_checkout: ${{ matrix.projects.subtree_checkout }}
therock-ci-windows:
name: Windows (${{ matrix.projects.project_to_test }})
@@ -108,7 +107,6 @@ jobs:
with:
cmake_options: ${{ matrix.projects.cmake_options }}
project_to_test: ${{ matrix.projects.project_to_test }}
subtree_checkout: ${{ matrix.projects.subtree_checkout }}
therock_ci_summary:
name: TheRock CI Summary