Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General poor performance detecting files #2309

Open
mcandre opened this issue May 25, 2024 · 1 comment
Open

General poor performance detecting files #2309

mcandre opened this issue May 25, 2024 · 1 comment

Comments

@mcandre
Copy link

mcandre commented May 25, 2024

Hi,

I enabled CodeQL via the GitHub Web UI, using the defaults. But it fails to detect basic C/C++ files, YML/YAML files, and many other languages and configuration formats besides.

Example:

https://github.com/mcandre/swiper

@aibaars
Copy link
Collaborator

aibaars commented May 27, 2024

Looking at the repository mentioned above, it only contains C/C++ , build scripts, and shell scripts. CodeQL tries to automatically build and analyse the C/C++ code by running cmake but this fails due to the following error:

 CMake Error at CMakeLists.txt:14 (include):
    include could not find requested file:
  
      /home/runner/work/swiper/swiper/_codeql_build_dir/conanbuildinfo.cmake
  
  
  CMake Error at CMakeLists.txt:15 (conan_basic_setup):
    Unknown CMake command "conan_basic_setup".

You may want to try Advance Setup and define your own Actions workflow for CodeQL: https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/configuring-advanced-setup-for-code-scanning . Alternatively, you could change your cmake scripts so that they work with CodeQL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants