Skip to content

Feature/fix appveyor #42

Feature/fix appveyor

Feature/fix appveyor #42

Workflow file for this run

name: Cppcheck
on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Setup
run: |
sudo apt update
sudo apt-get install build-essential automake autoconf autoconf-archive texinfo libtool-bin yasm ninja-build ccache cppcheck
- name: Setup GCC
uses: pkgxdev/setup@v2
with:
+: gcc@14
- run: gcc --version
- name: Restore artifacts or setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: ${{ vars.VCPKG_GIT_COMMIT_ID }}
- name: Configure
run: cmake --preset=cppcheck
- name: Build
run: cmake --build build -j 2