[TheRock CI] Adding profiler builds (#1301)
* Adding profiler for TheRock CI * adding temp test for rocproiler * Removing subtrees * PR comment
Цей коміт міститься в:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -7,8 +7,6 @@ on:
|
||||
type: string
|
||||
project_to_test:
|
||||
type: string
|
||||
subtree_checkout:
|
||||
type: string
|
||||
|
||||
|
||||
permissions:
|
||||
|
||||
@@ -7,8 +7,6 @@ on:
|
||||
type: string
|
||||
project_to_test:
|
||||
type: string
|
||||
subtree_checkout:
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -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
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача