* Test * Fixed Mac image names * Version lock to macOS 14 * Change name of Homebrew Qt package * Use CMake to build * Remove dep already installed * Remove version source * Remove env var not needed * Add homebrew path to CMake presets * Revert "Add homebrew path to CMake presets" This reverts commit 6b1342cdc2f412cad3e840e51e3e018dd7470d21. * Add Qt prefix to workflow * Upgrade CodeQL analysis to v2 * Rename SonarCloud workflow for convention * Delete test file * Upgrade CodeQL analysis to v3
59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
name: "CodeQL Analysis"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches: [master]
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: ["cpp"]
|
|
|
|
steps:
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update; \
|
|
sudo apt-get install -y \
|
|
build-essential \
|
|
cmake \
|
|
debhelper \
|
|
devscripts \
|
|
git \
|
|
libavahi-compat-libdnssd-dev \
|
|
libgdk-pixbuf2.0-dev \
|
|
libgl1-mesa-dev \
|
|
libglib2.0-dev \
|
|
libnotify-dev \
|
|
libssl-dev \
|
|
libx11-dev \
|
|
libxtst-dev \
|
|
qtbase5-dev \
|
|
qttools5-dev \
|
|
qttools5-dev-tools
|
|
|
|
- name: Checkout git repo
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v3
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v3
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v3
|