Skip to content

Added optimisation flags #667

Added optimisation flags

Added optimisation flags #667

# TODO: Update to CodeQL version 3 before december 2024
name: "CodeQL"
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
schedule:
- cron: "43 11 * * 2"
jobs:
analyze:
name: Analyze
runs-on: macos-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["c"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Clean directory
run: make clean
- name: Build project
run: make -C libjas/
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2