autobuild-action: Run autobuilders with $CODEQL_RUNNER set.
Without this, the tracer will not be injected on MacOS, as we need the runner to circumvent SIP. Also add a test that tests the autobuild-action to exercise this code path.
This commit is contained in:
parent
8171514c02
commit
a32664975f
5 changed files with 98 additions and 3 deletions
8
lib/codeql.js
generated
8
lib/codeql.js
generated
|
|
@ -510,7 +510,13 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
"-Dhttp.keepAlive=false",
|
||||
"-Dmaven.wagon.http.pool=false",
|
||||
].join(" ");
|
||||
await runTool(autobuildCmd);
|
||||
const runnerExe = process.env["CODEQL_RUNNER"];
|
||||
if (runnerExe) {
|
||||
await runTool(runnerExe, [autobuildCmd]);
|
||||
}
|
||||
else {
|
||||
await runTool(autobuildCmd);
|
||||
}
|
||||
},
|
||||
async extractScannedLanguage(databasePath, language, featureFlags) {
|
||||
// Get extractor location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue