Skip to content

Docs and code cleanup #80

Docs and code cleanup

Docs and code cleanup #80

name: Build-Windows-Qt6
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Cache Qt
id: cache-qt
uses: actions/cache@v3
with:
path: ${{ runner.workspace }}/Qt
key: ${{ runner.os }}-QtCache2
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.3.0'
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: disable debug build for vcpkg
run: echo 'set(VCPKG_BUILD_TYPE "release")' >> vcpkg/triplets/x64-windows.cmake
- name: Run vcpkg
uses: lukka/[email protected]
- name: Build
uses: lukka/run-cmake@v10
with:
configurePreset: 'ninja_release_vcpkg'
buildPreset: 'Ninja Release'