File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 22
22
pr_no :
23
23
description : PR number (if 0, it'll run on the main)
24
24
type : number
25
- # required: true
26
25
bench_script_params :
27
26
description : Parameters passed to script executing benchmark
28
27
type : string
Original file line number Diff line number Diff line change 1
- # Executes benchmarks implemented in this repository,
1
+ # Executes benchmarks implemented in this repository
2
2
# using scripts for benchmark results visualisation,
3
3
# which are downloaded from Unified Runtime repository.
4
4
name : Benchmarks
7
7
workflow_call :
8
8
inputs :
9
9
pr_no :
10
- # required: true
11
10
# even though this is a number, this is a workaround for issues with
12
11
# reusable workflow calls that result in "Unexpected value '0'" error.
13
12
type : string
@@ -28,7 +27,6 @@ permissions:
28
27
env :
29
28
UMF_DIR : " ${{github.workspace}}/umf-repo"
30
29
BUILD_DIR : " ${{github.workspace}}/umf-repo/build"
31
- # INSTL_DIR : "${{github.workspace}}/../install-dir"
32
30
33
31
jobs :
34
32
benchmarks :
@@ -67,13 +65,13 @@ jobs:
67
65
- name : Checkout UMF
68
66
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
69
67
with :
70
- path : umf-repo # ${{env.UMF_DIR}} #umf-repo
68
+ path : ${{env.UMF_DIR}}
71
69
fetch-depth : 0
72
70
73
71
# We need to fetch special ref for proper PR's merge commit. Note, this ref may be absent if the PR is already merged.
74
72
- name : Fetch PR's merge commit
75
73
if : ${{ inputs.pr_no != 0 }}
76
- working-directory : ${{github.workspace}}/umf-repo # ${{ env.UMF_DIR}} # ${{github.workspace}}/umf-repo
74
+ working-directory : ${{env.UMF_DIR}}
77
75
env :
78
76
PR_NO : ${{ inputs.pr_no }}
79
77
run : |
86
84
sudo apt-get update
87
85
sudo apt-get install -y cmake libhwloc-dev libnuma-dev libtbb-dev
88
86
89
- # -DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
90
87
- name : Configure build
91
88
run : >
92
89
cmake
You can’t perform that action at this time.
0 commit comments