Draft - Add clang-tidy support in GHA #334
builds.yml
on: pull_request
Matrix: build
Build (docker-linux-arm64)
37m 49s
Build (docker-linux-x64)
46m 52s
clang-tidy
4m 56s
Build (cpp-example-collection-linux-arm64)
5m 16s
Build (cpp-example-collection-x64)
4m 6s
Annotations
11 errors and 17 warnings
|
clang-tidy
Process completed with exit code 1.
|
|
|
|
include/livekit/participant.h:24:10 [clang-diagnostic-error]:
include/livekit/participant.h#L24
'livekit/ffi_handle.h' file not found
|
|
src/tests/integration/test_logging.cpp:17:10 [clang-diagnostic-error]:
src/tests/integration/test_logging.cpp#L17
'gtest/gtest.h' file not found
|
|
|
|
src/tests/common/test_common.h:24:10 [clang-diagnostic-error]:
src/tests/common/test_common.h#L24
'gtest/gtest.h' file not found
|
|
include/livekit/livekit.h:23:10 [clang-diagnostic-error]:
include/livekit/livekit.h#L23
'build.h' file not found
|
|
src/tests/integration/test_room.cpp:17:10 [clang-diagnostic-error]:
src/tests/integration/test_room.cpp#L17
'gtest/gtest.h' file not found
|
|
bridge/tests/integration/test_bridge_rpc_roundtrip.cpp:17:10 [clang-diagnostic-error]:
bridge/tests/integration/test_bridge_rpc_roundtrip.cpp#L17
'../common/bridge_test_common.h' file not found
|
|
bridge/tests/test_rpc_controller.cpp:20:10 [clang-diagnostic-error]:
bridge/tests/test_rpc_controller.cpp#L20
'gtest/gtest.h' file not found
|
|
bridge/tests/test_bridge_video_track.cpp:20:10 [clang-diagnostic-error]:
bridge/tests/test_bridge_video_track.cpp#L20
'gtest/gtest.h' file not found
|
|
Build (linux-x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
clang-tidy
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
clang-tidy
clang-tidy found 396 issue(s), threshold is 0
|
|
src/track_proto_converter.cpp:88:3 [bugprone-branch-clone]:
src/track_proto_converter.cpp#L88
switch has 2 consecutive identical branches
|
|
src/track_proto_converter.cpp:71:3 [bugprone-branch-clone]:
src/track_proto_converter.cpp#L71
switch has 2 consecutive identical branches
|
|
src/track_proto_converter.cpp:58:3 [bugprone-branch-clone]:
src/track_proto_converter.cpp#L58
switch has 2 consecutive identical branches
|
|
examples/common/sdl_media.cpp:214:30 [readability-braces-around-statements]:
examples/common/sdl_media.cpp#L214
statement should be inside braces
|
|
examples/common/sdl_media.cpp:186:14 [readability-braces-around-statements]:
examples/common/sdl_media.cpp#L186
statement should be inside braces
|
|
examples/common/sdl_media.cpp:142:28 [readability-braces-around-statements]:
examples/common/sdl_media.cpp#L142
statement should be inside braces
|
|
examples/common/sdl_media.cpp:86:33 [bugprone-narrowing-conversions]:
examples/common/sdl_media.cpp#L86
narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined
|
|
examples/common/sdl_media.cpp:69:31 [bugprone-narrowing-conversions]:
examples/common/sdl_media.cpp#L69
narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined
|
|
examples/common/sdl_media.cpp:65:30 [readability-braces-around-statements]:
examples/common/sdl_media.cpp#L65
statement should be inside braces
|
|
include/livekit/remote_audio_track.h:52:3 [modernize-use-nodiscard]:
include/livekit/remote_audio_track.h#L52
function 'to_string' should be marked [[nodiscard]]
|
|
Build (docker-linux-arm64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, docker/setup-buildx-action@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build (cpp-example-collection-linux-arm64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build (docker-linux-x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4, docker/setup-buildx-action@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build (cpp-example-collection-x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
compile-database
Expired
|
859 KB |
sha256:b5e8006831900f32f9d765ab0aebe20d738bf264cf09d20682359869c93b3b15
|
|
|
livekit-cpp-sdk-docker-arm64
Expired
|
2.69 GB |
sha256:b4d83f62672b63705c65af6153a77ac7da140ab445d7772dae4d9cbf7c90a5d8
|
|
|
livekit-cpp-sdk-docker-x64
Expired
|
2.79 GB |
sha256:b1f2476bc4ce0e5110f3983626da4a67dd6f8f5d9c32276d9013225c20d51da5
|
|
|
livekit-sdk-linux-x64
Expired
|
41.6 MB |
sha256:24329d4eb486d78a08897af0f9b1d0cbe53aadb92dfa578c70cfc6810434d586
|
|