90
90
run : >
91
91
cmake
92
92
-B ${{env.BUILD_DIR}}
93
- ${{matrix.extra_build_option}}
94
93
-DCMAKE_BUILD_TYPE=Release
95
94
-DUMF_BUILD_SHARED_LIBRARY=ON
96
95
-DUMF_BUILD_BENCHMARKS=ON
@@ -102,10 +101,13 @@ jobs:
102
101
-DUMF_BUILD_CUDA_PROVIDER=ON
103
102
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
104
103
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
104
+ -DUMF_BUILD_EXAMPLES=OFF
105
105
106
- - name : Build UMF on Linux
106
+ - name : Build UMF
107
107
run : cmake --build ${{env.BUILD_DIR}} -j $(nproc)
108
108
109
+ # We are going to clone Unified Runtime repository in order to run
110
+ # the most up-to-date UR scripts for benchmark data visualisation
109
111
- name : Checkout UR
110
112
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
111
113
with :
@@ -114,7 +116,7 @@ jobs:
114
116
fetch-depth : 1
115
117
fetch-tags : false
116
118
117
- - name : Install pip packages
119
+ - name : Install pip packages for benchmarking scripts from UR
118
120
run : |
119
121
pip install --force-reinstall -r ${{github.workspace}}/ur-repo/third_party/benchmark_requirements.txt
120
122
@@ -123,7 +125,7 @@ jobs:
123
125
sudo apt-get update
124
126
sudo apt-get install libhwloc-dev
125
127
126
- - name : Run benchmarks
128
+ - name : Run dedicated for UMF scripts from UR
127
129
id : benchmarks
128
130
working-directory : ${{env.BUILD_DIR}}
129
131
run : >
@@ -133,10 +135,6 @@ jobs:
133
135
${{ inputs.upload_report && '--output-html' || '' }}
134
136
${{ inputs.bench_script_params }}
135
137
136
- - name : Test output
137
- run : >
138
- echo 'out: ${{ steps.benchmarks.outcome }}'
139
-
140
138
- name : Add comment to PR
141
139
uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
142
140
if : ${{ always() && inputs.pr_no != 0 }}
0 commit comments