Added configs to support the use of the new NPPM_ALLOCATEINDICATOR me… #355
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeQL | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: [main] | |
schedule: | |
- cron: '18 3 * * 2' | |
env: | |
# Path to the solution file relative to the root of the project. | |
configuration: Debug | |
platform: x64 | |
solution_file: PapyrusPlugin.sln | |
jobs: | |
Analyze: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: cpp | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v1 | |
- name: Build debuggable x64 plugin DLL | |
run: msbuild /m /p:Configuration=${{ env.configuration }} /p:Platform=${{ env.platform }} ${{ env.solution_file }} | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |