Use words per minute instead #418
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: | |
push: | |
pull_request: | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
if: "!(contains(github.event.pull_request.title, '[skip ci]') || | |
contains(github.event.pull_request.body, '[skip ci]') || | |
contains(join(github.event.pull_request.labels.*.name, ','), 'skip ci'))" | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'csharp', 'cpp' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Install C++ build tools | |
run: | | |
sudo apt update | |
sudo apt install -y build-essential cmake | |
- name: Build C++ Library | |
run: | | |
mkdir -p NativeAudio/build | |
cmake -S NativeAudio -B NativeAudio/build -DCMAKE_BUILD_TYPE=Release | |
cmake --build NativeAudio/build --config Release | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Build Desktop App | |
run: | | |
dotnet restore ./vATIS.Desktop | |
dotnet build ./vATIS.sln /p:Configuration=Release | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{matrix.language}}" |