On Windows, the autobuild step attempts to autodetect a suitable build method for C/C++ using the following approach: The behavior of the autobuild step varies according to the operating system that the extraction runs on. Linux and macOS: Autoconf, Make, CMake, qmake, Meson, Waf, SCons, Linux Kbuild, and build scripts autobuild for C/C++ Supported system type For more information, see " About GitHub-hosted runners". Additionally, if your repository requires a specific version of a build tool, you may need to install it manually. Note: If you use self-hosted runners for GitHub Actions, you may need to install additional software to use the autobuild process. With the exception of Go, analysis of other compiled languages in your repository will fail unless you supply explicit build commands. Without a matrix autobuild attempts to build the supported compiled language that has the most source files in the repository. If your workflow uses a language matrix, autobuild attempts to build each of the compiled languages listed in the matrix. For more information, see " Configuring code scanning for a repository." Currently, the default setup does not support any compiled languages, so you must use the advanced setup. Alternatively, you can disable autobuild and instead specify explicit build commands to analyze only the files that are built by these custom commands.įor CodeQL code scanning, you can use the default setup, which analyzes your code and automatically configures your code scanning, or the advanced setup, which generates a workflow file you can edit. You can use the autobuild action in the CodeQL analysis workflow to build your code. For the compiled languages C/C++, C#, Go, Java, and Swift, the process of populating this database involves building the code and extracting data.ĬodeQL analyzes the C/C++, C#, Go, Java, and Swift source files in your repository that are built. ![]() Each database contains a representation of all of the code in a single language in your repository. About the CodeQL analysis workflow and compiled languagesĬode scanning works by running queries against one or more databases.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |