Skip to content

Merge pull request #51 from drsnuggles8/dependabot/github_actions/Son… #36

Merge pull request #51 from drsnuggles8/dependabot/github_actions/Son…

Merge pull request #51 from drsnuggles8/dependabot/github_actions/Son… #36

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
env:
BUILD_TYPE: Release
jobs:
analyze:
name: Analyze
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'csharp' ]
compiler:
- msvc
- llvm
steps:
- uses: actions/checkout@v3
- name: Install Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install python dependencies
run: pip install jinja2
- name: Install Vulkan SDK
uses: humbletim/[email protected]
with:
version: latest
cache: true
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Build with CMake
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2