Skip to content

Enable C++11 compatibility in macOS 12 CI builds #44

Enable C++11 compatibility in macOS 12 CI builds

Enable C++11 compatibility in macOS 12 CI builds #44

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "master", "ci" ]
pull_request:
branches: [ "master" ]
schedule:
# monthly analysis
- cron: "47 0 15 * *"
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ cpp ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
# install prerequisites
- run: sudo apt-get update && sudo apt-get install -y --no-install-suggests --no-install-recommends exiv2 libexiv2-dev libgtk-3-dev
# build and check
- run: make -j2 CFLAGS="-g -O0 -DENABLE_NLS=1" gpscorrelate gpscorrelate-gui && make check
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"