Skip to content

macos-14

macos-14 #143

Workflow file for this run

name: "CodeQL"
on: [push, pull_request]
jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
permissions:
actions: read
contents: read
security-events: write
env:
CC: ${{ matrix.compiler.cc }}
CXX: ${{ matrix.compiler.cxx }}
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
compiler:
- {
cc: clang-15,
cxx: clang++-15,
install: clang-15
}
steps:
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y xorg-dev nasm libssl-dev ${{ matrix.compiler.install }}
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config: |
query-filters:
- exclude:
id: cpp/integer-multiplication-cast-to-long
- name: Configure
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=DEBUG ..
- name: Build
run: |
cd build
cmake --build . -- -j3
- name: CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"