Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,12 @@ jobs:
# If this step fails, then you should remove it and run the build manually (see below)
- name: Build C++
env:
SKIP_ARM_BUILD: 1
SKIP_ARM64_BUILD: 1
PlatformToolset: v143
VSTOOLS_VERSION: vs2022
WindowsSDKVersion: 10.0.22621.0
shell: cmd
if: matrix.language == 'cpp'
run: build-all.bat
run: build-codeql-cpp.bat

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand Down
15 changes: 15 additions & 0 deletions build-codeql-cpp.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@echo off

cd %~dp0
@setlocal ENABLEEXTENSIONS

call tools\gen-version.cmd
if errorLevel 1 goto end

git -c submodule."lib/modules".update=none submodule update --init --recursive --depth=1
if errorLevel 1 goto end

call tools\RunMsBuild.bat x64 Release "sqlite:Rebuild,zlib:Rebuild,sqlite-uwp:Rebuild,win32-lib:Rebuild,win10-lib:Rebuild"

:end
exit /b %errorLevel%
Loading