-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 1.07 KB
/
Copy pathbench-baseline-linux.yml
File metadata and controls
40 lines (33 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Benchmark baseline refresh (Linux)
on:
workflow_dispatch:
jobs:
write-baseline-linux:
name: Refresh linux-gcc13.json baseline
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Install toolchain
run: |
sudo apt-get update
sudo apt-get install -y g++-13 ninja-build lld
- name: Configure
run: >
cmake -S . -B build-bench -G Ninja
-DCMAKE_C_COMPILER=gcc-13 -DCMAKE_CXX_COMPILER=g++-13
-DCMAKE_BUILD_TYPE=Release
-DMS_BUILD_TESTS=OFF
-DMS_BUILD_BENCHMARKS=ON
-DMS_ENABLE_CUDA=OFF
-DMS_ENABLE_AVX512=OFF
- name: Build benchmarks
run: cmake --build build-bench
- name: Write baseline medians
run: bash scripts/bench_regression.sh --write-baseline build-bench
- name: Upload baseline artifact
uses: actions/upload-artifact@v4
with:
name: linux-gcc13-baseline
path: tests/performance/baselines/linux-gcc13.json
if-no-files-found: error