Skip to content

Commit 833edd6

Browse files
Testing env.UMF_DIR
1 parent dd65b81 commit 833edd6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/reusable_benchmarks.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ permissions:
2929

3030
env:
3131
BUILD_DIR : "${{github.workspace}}/build"
32+
UMF_DIR: "${{github.workspace}}/umf-repo"
3233
# INSTL_DIR : "${{github.workspace}}/../install-dir"
3334

3435
jobs:
@@ -65,14 +66,16 @@ jobs:
6566
body: body
6667
})
6768
68-
- name: Checkout
69+
- name: Checkout UMF
6970
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7071
with:
72+
path: ${{env.UMF_DIR}} #umf-repo
7173
fetch-depth: 0
7274

7375
# We need to fetch special ref for proper PR's merge commit. Note, this ref may be absent if the PR is already merged.
7476
- name: Fetch PR's merge commit
7577
if: ${{ inputs.pr_no != 0 }}
78+
working-directory: ${{env.UMF_DIR}} # ${{github.workspace}}/umf-repo
7679
env:
7780
PR_NO: ${{ inputs.pr_no }}
7881
run: |
@@ -89,6 +92,7 @@ jobs:
8992
- name: Configure build
9093
run: >
9194
cmake
95+
-S ${{env.UMF_DIR}}
9296
-B ${{env.BUILD_DIR}}
9397
-DCMAKE_BUILD_TYPE=Release
9498
-DUMF_BUILD_SHARED_LIBRARY=ON
@@ -120,11 +124,6 @@ jobs:
120124
run: |
121125
pip install --force-reinstall -r ${{github.workspace}}/ur-repo/third_party/benchmark_requirements.txt
122126
123-
- name: Install HWLOC
124-
run: |
125-
sudo apt-get update
126-
sudo apt-get install libhwloc-dev
127-
128127
- name: Run dedicated for UMF scripts from UR
129128
id: benchmarks
130129
working-directory: ${{env.BUILD_DIR}}

0 commit comments

Comments
 (0)