Skip to content

Add Meson build system configuration #180

Add Meson build system configuration

Add Meson build system configuration #180

name: "CodeQL"
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '00 18 * * 1'
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: macos-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: brew install popt
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: cpp
queries: security-and-quality
source-root: src
- name: Build sources
run: |
cd src
meson setup build
ninja -C build
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v2