Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

huge, huge changes to reflect best practices better and also make it … #81

huge, huge changes to reflect best practices better and also make it …

huge, huge changes to reflect best practices better and also make it … #81

Workflow file for this run

name: "CodeQL Analysis"
on:
push:
branches: [ "main", "dev" ]
paths-ignore:
- '**/*.md'
- '**/*.txt'
pull_request:
branches: [ "main" ]
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: [ ubuntu-latest ]
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
include:
- language: c
build-mode: manual
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- if: matrix.build-mode == 'manual'
shell: bash
run: |
sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev libwayland-dev libxkbcommon-dev
cmake -B build -DCMAKE_BUILD_TYPE=Release && cd build && make
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"