30
30
jobs :
31
31
benchmarks :
32
32
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"
35
33
strategy :
36
34
matrix :
37
- os : ['ubuntu-latest'] # , 'windows-latest']
35
+ os : ['ubuntu-latest']
38
36
include :
39
37
# Windows doesn't recognize 'CMAKE_BUILD_TYPE', it uses '--config' param in build command to determine the build type
40
38
- os : ubuntu-latest
80
78
sudo apt-get update
81
79
sudo apt-get install -y cmake libhwloc-dev libnuma-dev libtbb-dev
82
80
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}}"
97
81
- name : Configure build
98
82
run : >
99
83
cmake
@@ -115,10 +99,6 @@ jobs:
115
99
if : matrix.os == 'ubuntu-latest'
116
100
run : cmake --build ${{env.BUILD_DIR}} -j $(nproc)
117
101
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
-
122
102
- name : Checkout UR
123
103
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
124
104
with :
@@ -152,16 +132,6 @@ jobs:
152
132
run : >
153
133
echo 'out: ${{ steps.benchmarks.outcome }}'
154
134
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
-
165
135
- name : Add comment to PR
166
136
uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
167
137
if : ${{ always() && inputs.pr_no != 0 }}
0 commit comments