File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Benchmark Release"
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ benchmark_release :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Install dependencies
18+ run : |
19+ sudo apt update
20+ sudo apt install -y build-essential cmake libtbb-dev libsimdjson-dev libhwloc-dev
21+
22+ - name : Build in Release mode with benchmarks
23+ working-directory : ${{ github.workspace }}
24+ run : |
25+ mkdir -p build
26+ cd build
27+ cmake .. -DCMAKE_BUILD_TYPE=Release -DDSF_BENCHMARKS=ON -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install
28+ cmake --build . -j$(nproc) --config Release
29+
30+ - name : Run benchmarks
31+ working-directory : ${{ github.workspace }}/benchmark
32+ run : |
33+ for bench in *.out; do
34+ echo "Running $bench"
35+ ./$bench
36+ done
You can’t perform that action at this time.
0 commit comments