Skip to content

Commit cf59d27

Browse files
committed
disable benchmarks by default
1 parent 097d2c6 commit cf59d27

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/cppcmake.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
description: 'Extra CMake options'
1919
required: false
2020
default: ''
21+
benchmarks:
22+
description: 'enable benchmarks (tests currently flakey)'
23+
required: false
24+
default: 'OFF'
2125

2226
concurrency:
2327
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -35,7 +39,6 @@ jobs:
3539
fail-fast: false
3640
matrix:
3741
config:
38-
- {name: "ubuntu-20.04", os: "ubuntu-20.04", cmake_extra: "-DLSL_BUNDLED_PUGIXML=OFF"}
3942
- {name: "ubuntu-22.04", os: "ubuntu-22.04", cmake_extra: "-DLSL_BUNDLED_PUGIXML=OFF" }
4043
- {name: "ubuntu-24.04", os: "ubuntu-24.04", cmake_extra: "-DLSL_BUNDLED_PUGIXML=OFF" }
4144
- {name: "windows-x64", os: "windows-latest", cmake_extra: "-T v142,host=x86"}
@@ -62,7 +65,7 @@ jobs:
6265
-DCMAKE_BUILD_TYPE=Release \
6366
-DCMAKE_INSTALL_PREFIX=${PWD}/install \
6467
-DLSL_UNITTESTS=ON \
65-
-DLSL_BENCHMARKS=ON \
68+
-DLSL_BENCHMARKS=${{ github.event.inputs.benchmarks }} \
6669
-DLSL_BUILD_EXAMPLES=ON \
6770
-DCPACK_PACKAGE_DIRECTORY=${PWD}/package \
6871
-Dlslgitrevision=${{ github.sha }} \

0 commit comments

Comments
 (0)