Skip to content

CMakeLists: Use -O2 in Release, set C11 standard and LTO properly #818

CMakeLists: Use -O2 in Release, set C11 standard and LTO properly

CMakeLists: Use -O2 in Release, set C11 standard and LTO properly #818

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "staging" ]
pull_request:
branches: [ "staging" ]
schedule:
- cron: "52 7 * * 4"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ cpp ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: cpp
config-file: ./.github/codeql/codeql-config.yml
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"