Skip to content

Commit fbedf33

Browse files
committed
make clang-tidy a param
1 parent 6f58b42 commit fbedf33

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Test
33
on:
44
pull_request:
55
workflow_dispatch:
6+
inputs:
7+
clang-tidy:
8+
type: boolean
9+
default: true
610

711
jobs:
812
run-tests:
@@ -25,7 +29,7 @@ jobs:
2529
-DVIAMCPPSDK_OFFLINE_PROTO_GENERATION=ON \
2630
-DVIAMCPPSDK_BUILD_TESTS=ON \
2731
-DVIAMCPPSDK_BUILD_EXAMPLES=ON \
28-
-DVIAMCPPSDK_CLANG_TIDY=ON \
32+
-DVIAMCPPSDK_CLANG_TIDY=${{ inputs.clang-tidy && 'ON' || 'OFF' }} \
2933
-DVIAMCPPSDK_SANITIZED_BUILD=${{ matrix.BUILD_SHARED }}
3034
- name: build
3135
run: |

0 commit comments

Comments
 (0)