Skip to content

Commit

Permalink
ci: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Dec 7, 2024
1 parent f6a5b9b commit 5f61a33
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install newest meson
run: >-
sudo pip3 install meson # --break-system-packages
sudo PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install meson
- name: Run tests
run: >-
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: "CodeQL Advanced"

on:
push:
branches:
- master
- releases/*

pull_request:
branches:
- master

schedule:
- cron: '22 11 * * 1'

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-cpp
build-mode: autobuild

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies
run: >-
sudo apt-get update &&
sudo apt-get install -y --no-install-recommends g++ python3
pkgconf libedit-dev libpcre2-dev libssl-dev zlib1g-dev uuid-dev
ninja-build python3-pip
- name: Install newest meson
run: >-
sudo PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install meson
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

0 comments on commit 5f61a33

Please sign in to comment.