Skip to content

Commit bf166a7

Browse files
committed
disable benchmarks in CI builds by default
1 parent 2a5858c commit bf166a7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/cppcmake.yml

Lines changed: 5 additions & 1 deletion
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 }}
@@ -61,7 +65,7 @@ jobs:
6165
-DCMAKE_BUILD_TYPE=Release \
6266
-DCMAKE_INSTALL_PREFIX=${PWD}/install \
6367
-DLSL_UNITTESTS=ON \
64-
-DLSL_BENCHMARKS=ON \
68+
-DLSL_BENCHMARKS=${{ github.event.inputs.benchmarks }} \
6569
-DLSL_BUILD_EXAMPLES=ON \
6670
-DCPACK_PACKAGE_DIRECTORY=${PWD}/package \
6771
-Dlslgitrevision=${{ github.sha }} \

0 commit comments

Comments
 (0)