mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 19:09:36 +00:00
463edc3c01
Co-authored-by: Rangi <sylvie.oukaour+rangi42@gmail.com>
24 lines
686 B
YAML
24 lines
686 B
YAML
name: Static analysis
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
env:
|
|
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
|
TERM: xterm-256color
|
|
CLICOLOR: 1
|
|
CLICOLOR_FORCE: 1
|
|
|
|
jobs:
|
|
analysis:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v6
|
|
- name: Install deps
|
|
run: |
|
|
./.github/scripts/install_deps.sh ubuntu-latest
|
|
- name: Static analysis
|
|
run: | # Silence warnings with too many false positives (https://stackoverflow.com/a/73913076)
|
|
make -kj CXX=g++-14 CXXFLAGS="-fanalyzer -fanalyzer-verbosity=0 -Wno-analyzer-use-of-uninitialized-value -DNDEBUG" Q=
|