Skip to content

Fix crash on shutdown #79

Fix crash on shutdown

Fix crash on shutdown #79

Workflow file for this run

name: Test build the application
on:
push:
branches:
- '**'
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: 6.5.*
modules: 'qtpdf'
cache: true
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: '53bef8994c541b6561884a8395ea35715ece75db'
- name: Install dependencies
run: vcpkg install gtest hunspell
- name: Install pkg-config
run: vcpkg install pkgconf
if: matrix.os == 'windows-latest'
- name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake"
- name: Build
run: cmake --build build -j
- name: Run tests
run: ctest --output-on-failure --test-dir build
analyse:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: 6.5.*
modules: 'qtpdf'
cache: true
- name: Install additional dependencies
run: |
sudo apt-get update
sudo apt-get install -y hunspell libgmock-dev libhunspell-dev clazy
- name: Run Clazy analysis
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clazy
cmake --build build -j