]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Add CodeQL build stage
authorOwen Smith <owen.smith@citrix.com>
Fri, 5 Mar 2021 10:16:20 +0000 (10:16 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Tue, 9 Mar 2021 17:53:54 +0000 (17:53 +0000)
commit17db61b73fba16fc8a3ed685c6b874973cb6290a
tree3b0ae918cb7e6025cc0e7b22e26703e4d8f8359c
parent2b360b5f775448b10298cf9113e9258a92a5bfbf
Add CodeQL build stage

CodeQL logs will be required for future WHQL submissions. Add a stage
that generates the required SARIF files. CodeQL is a semantic code
analysis engine, which will highlight vunerabilities that will need
fixing.

In order to use CodeQL, the CodeQL binaries must be on the path and the
Windows-Driver-Developer-Supplemental-Tools must be on the path defined
by the CODEQL_QUERY_SUITE environment variable (if defined), or under
the parent folder (if CODEQL_QUERY_SUITE variable is not defined)

Note: Due to the way the codeql command line is built, using quotes in a
MSBuild command line is not possible, so generate a batch file to wrap
the command line.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
build.ps1
msbuild.ps1