Run autobuild script via direct tracing when feature enabled
This commit is contained in:
parent
8f057a3d8e
commit
cbe29f55df
15 changed files with 68 additions and 25 deletions
4
lib/autobuild.js
generated
4
lib/autobuild.js
generated
|
|
@ -134,7 +134,7 @@ async function setupCppAutobuild(codeql, logger) {
|
|||
}
|
||||
}
|
||||
exports.setupCppAutobuild = setupCppAutobuild;
|
||||
async function runAutobuild(language, config, features, logger) {
|
||||
async function runAutobuild(config, language, features, logger) {
|
||||
logger.startGroup(`Attempting to automatically build ${language} code`);
|
||||
const codeQL = await (0, codeql_1.getCodeQL)(config.codeQLCmd);
|
||||
if (language === languages_1.Language.cpp) {
|
||||
|
|
@ -145,7 +145,7 @@ async function runAutobuild(language, config, features, logger) {
|
|||
await codeQL.extractUsingBuildMode(config, language);
|
||||
}
|
||||
else {
|
||||
await codeQL.runAutobuild(language, config.debugMode);
|
||||
await codeQL.runAutobuild(config, language, features);
|
||||
}
|
||||
if (language === languages_1.Language.go) {
|
||||
core.exportVariable(environment_1.EnvVar.DID_AUTOBUILD_GOLANG, "true");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue