Skip to content

Updates

Updates #3

Workflow file for this run

name: Test Build
on:
push:
branches: main
paths:
- "**.h"
- "**.cpp"
- "**.yml"
workflow_dispatch:
env:
VCPKG_COMMIT_ID: 28b1cf627c0570b3e094192df2fce31a3a2bc1d3
jobs:
test-build:
runs-on: windows-latest
strategy:
matrix:
preset:
- debug
- release
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
- name: Initialize submodules
run: git submodule update --init --recursive
- name: Run CMake
uses: lukka/run-cmake@v10
with:
configurePreset: build-${{ matrix.preset }}-msvc
buildPreset: ${{ matrix.preset }}-msvc