Skip to content

CodeQL

CodeQL #146

Workflow file for this run

name: CodeQL
on:
schedule:
- cron: "0 6 * * 1"
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: [c-cpp, python]
include:
- language: c-cpp
build-mode: manual
- language: python
build-mode: none
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Build (C/C++)
if: matrix.language == 'c-cpp'
run: |
sudo apt-get update && sudo apt-get install -y libblas-dev liblapack-dev ninja-build
pip install meson meson-python numpy
meson setup build
meson compile -C build
- uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"