Skip to content

Commit ad6a010

Browse files
add workflow for running UMF benchmarks on Ubuntu
download scripts for data visualisation from UR repository, run UMF benchmarks, upload the results to GitHub pages
1 parent 378d1a3 commit ad6a010

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

.github/workflows/reusable_benchmarks.yml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ env:
3030
jobs:
3131
benchmarks:
3232
name: Benchmarks
33-
# env:
34-
# VCPKG_PATH: "${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows"
3533
strategy:
3634
matrix:
37-
os: ['ubuntu-latest'] #, 'windows-latest']
35+
os: ['ubuntu-latest']
3836
include:
3937
# Windows doesn't recognize 'CMAKE_BUILD_TYPE', it uses '--config' param in build command to determine the build type
4038
- os: ubuntu-latest
@@ -80,20 +78,6 @@ jobs:
8078
sudo apt-get update
8179
sudo apt-get install -y cmake libhwloc-dev libnuma-dev libtbb-dev
8280
83-
# - name: Initialize vcpkg
84-
# if: matrix.os == 'windows-latest'
85-
# uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
86-
# with:
87-
# vcpkgGitCommitId: 3dd44b931481d7a8e9ba412621fa810232b66289
88-
# vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg
89-
# vcpkgJsonGlob: '**/vcpkg.json'
90-
91-
# - name: Install vcpkg packages
92-
# if: matrix.os == 'windows-latest'
93-
# run: vcpkg install
94-
# shell: pwsh # Specifies PowerShell as the shell for running the script.
95-
96-
# -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}"
9781
- name: Configure build
9882
run: >
9983
cmake
@@ -115,10 +99,6 @@ jobs:
11599
if: matrix.os == 'ubuntu-latest'
116100
run: cmake --build ${{env.BUILD_DIR}} -j $(nproc)
117101

118-
# - name: Build UMF on Windows
119-
# if: matrix.os == 'windows-latest'
120-
# run: cmake --build ${{env.BUILD_DIR}} --config Release -j $Env:NUMBER_OF_PROCESSORS
121-
122102
- name: Checkout UR
123103
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
124104
with:
@@ -152,16 +132,6 @@ jobs:
152132
run: >
153133
echo 'out: ${{ steps.benchmarks.outcome }}'
154134
155-
# - name: Run benchmarks
156-
# if: matrix.os == 'windows-latest'
157-
# working-directory: ${{env.BUILD_DIR}}
158-
# run: >
159-
# python3 ${{ github.workspace }}/ur-repo/scripts/benchmarks/main.py
160-
# ~/bench_workdir
161-
# --umf ${{env.BUILD_DIR}}
162-
# ${{ inputs.upload_report && '--output-html' || '' }}
163-
# ${{ inputs.bench_script_params }}
164-
165135
- name: Add comment to PR
166136
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
167137
if: ${{ always() && inputs.pr_no != 0 }}

0 commit comments

Comments
 (0)