Skip to content

Commit

Permalink
default not working for clang-tidy, flip
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Nov 19, 2024
1 parent 2dad8ed commit d31497d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
pull_request:
workflow_dispatch:
inputs:
clang-tidy:
no-tidy:
type: boolean
default: true
description: set to true to build without clang-tidy (2x faster)

jobs:
run-tests:
Expand All @@ -29,7 +29,7 @@ jobs:
-DVIAMCPPSDK_OFFLINE_PROTO_GENERATION=ON \
-DVIAMCPPSDK_BUILD_TESTS=ON \
-DVIAMCPPSDK_BUILD_EXAMPLES=ON \
-DVIAMCPPSDK_CLANG_TIDY=${{ inputs.clang-tidy && 'ON' || 'OFF' }} \
-DVIAMCPPSDK_CLANG_TIDY=${{ inputs.no-tidy && 'OFF' || 'ON' }} \
-DVIAMCPPSDK_SANITIZED_BUILD=${{ matrix.BUILD_SHARED }}
- name: build
run: |
Expand Down

0 comments on commit d31497d

Please sign in to comment.