diff options
Diffstat (limited to '')
-rwxr-xr-x | taskcluster/scripts/misc/generate-codeql-db-cpp.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/taskcluster/scripts/misc/generate-codeql-db-cpp.sh b/taskcluster/scripts/misc/generate-codeql-db-cpp.sh new file mode 100755 index 0000000000..57d72fd426 --- /dev/null +++ b/taskcluster/scripts/misc/generate-codeql-db-cpp.sh @@ -0,0 +1,19 @@ +#! /bin/bash -vex + +set -x -e + +#### +# Wrapper for building the CodeQL database with the build-linux script +#### + +cd /builds/worker + +$MOZ_FETCHES_DIR/codeql/codeql database create \ + --language=cpp \ + -J=-Xmx32768M \ + --command="${GECKO_PATH}/taskcluster/scripts/builder/build-linux.sh" \ + codeql-database + +# TODO Switch this to zst per 1637381 when this is used for static analysis jobs +tar cf codeql-db-cpp.tar codeql-database +xz codeql-db-cpp.tar |