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
|
|
@ -780,7 +780,12 @@ async function getCodeQLForCmd(
|
|||
"-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: string,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue