Skip to content

Bump SonarSource/sonarcloud-github-c-cpp from 1 to 2 #34

Bump SonarSource/sonarcloud-github-c-cpp from 1 to 2

Bump SonarSource/sonarcloud-github-c-cpp from 1 to 2 #34

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/install-vulkan-sdk@v1.1.1
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