File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 4949 displayName : ' Windows x64'
5050 pool :
5151 vmImage : ' windows-latest'
52+ variables :
53+ # Enable CodeQL for this job to update the old stale snapshot (build_jobname=pytestonwindows)
54+ # This can be removed once the old CodeQL issue SM02986 is cleared
55+ Codeql.Enabled : true
5256
5357 strategy :
5458 matrix :
6367 pythonVersion : ' 3.14'
6468
6569 steps :
70+ # ============== CodeQL Analysis (temporary - remove after SM02986 is cleared) ==============
71+ - task : CodeQL3000Init@0
72+ inputs :
73+ Enabled : true
74+ displayName : ' Initialize CodeQL (temporary)'
75+
76+ # Build C++ extension for CodeQL analysis
77+ - script : |
78+ cd mssql_python\pybind
79+ call build.bat x64
80+ displayName: 'Build C++ extension for CodeQL'
81+ condition: eq(variables['pythonVersion'], '3.13') # Only build once, not for each matrix
82+
83+ - task : CodeQL3000Finalize@0
84+ condition : eq(variables['pythonVersion'], '3.13') # Only finalize once
85+ displayName : ' Finalize CodeQL (temporary)'
86+ # ============== End CodeQL Analysis ==============
87+
6688 - task : UsePythonVersion@0
6789 inputs :
6890 versionSpec : ' $(pythonVersion)'
You can’t perform that action at this time.
0 commit comments