Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Falcosoft committed Feb 26, 2024
2 parents d0318be + 71181e9 commit 59f709a
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CodeQL

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
paths-ignore:
- '**/*.md'
- '**/*.txt'
- '**/*.mrc'
- '**/*.png'
- '**/*.svg'

env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: vstdriver.sln

jobs:
Analyze:
runs-on: windows-2019

strategy:
fail-fast: false

steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: cpp

- name: Add MSBuild to PATH
uses: microsoft/[email protected]

- name: Build debuggable x64
working-directory: ${{ github.workspace }}
run: msbuild /m /p:Configuration="Debug" /p:Platform="x64" /p:PlatformToolset=v142 ${{ env.SOLUTION_FILE_PATH }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 59f709a

Please sign in to comment.