Skip to content

Commit c39ee4c

Browse files
authored
Merge pull request #73 from github/repo-sync
repo sync
2 parents fb0b482 + a302fbf commit c39ee4c

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-workflow-for-compiled-languages.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,16 @@ If your workflow uses a `language` matrix, `autobuild` attempts to build each of
4040

4141
| Supported system type | System name |
4242
|----|----|
43-
| Operating system | Windows and Linux |
44-
| Build system | Autoconf, CMake, qmake, Meson, Waf, SCons, and Linux Kbuild |
43+
| Operating system | Windows, macOS, and Linux |
44+
| Build system | Windows: MSbuild and build scripts<br/>Linux and macOS: Autoconf, Make, CMake, qmake, Meson, Waf, SCons, Linux Kbuild, and build scripts |
4545

46-
The behavior of the `autobuild` step varies according to the operating system that the extraction runs on. On Windows, the step has no default actions. On Linux, this step reviews the files present in the repository to determine the build system used:
46+
The behavior of the `autobuild` step varies according to the operating system that the extraction runs on. On Windows, the `autobuild` step attempts to autodetect a suitable build method for C/C++ using the following approach:
47+
48+
1. Invoke `MSBuild.exe` on the solution (`.sln`) or project (`.vcxproj`) file closest to the root.
49+
If `autobuild` detects multiple solution or project files at the same (shortest) depth from the top level directory, it will attempt to build all of them.
50+
2. Invoke a script that looks like a build script—_build.bat_, _build.cmd_, _and build.exe_ (in that order).
51+
52+
On Linux and macOS, the `autobuild` step reviews the files present in the repository to determine the build system used:
4753

4854
1. Look for a build system in the root directory.
4955
2. If none are found, search subdirectories for a unique directory with a build system for C/C++.
@@ -53,7 +59,7 @@ The behavior of the `autobuild` step varies according to the operating system th
5359

5460
| Supported system type | System name |
5561
|----|----|
56-
| Operating system | Windows and Linux |
62+
| Operating system | Windows and Linux |
5763
| Build system | .NET and MSbuild, as well as build scripts |
5864

5965
The `autobuild` process attempts to autodetect a suitable build method for C# using the following approach:
@@ -67,7 +73,7 @@ If `autobuild` detects multiple solution or project files at the same (shortest)
6773

6874
| Supported system type | System name |
6975
|----|----|
70-
| Operating system | Windows, macOS and Linux (no restriction) |
76+
| Operating system | Windows, macOS, and Linux (no restriction) |
7177
| Build system | Gradle, Maven and Ant |
7278

7379
The `autobuild` process tries to determine the build system for Java codebases by applying this strategy:

0 commit comments

Comments
 (0)