Skip to content

actions: fix win32 build #29

actions: fix win32 build

actions: fix win32 build #29

Workflow file for this run

name: Windows
on:
push:
branches: [ master, test ]
pull_request:
branches: [ master, test ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
BUILD_TYPE: [Debug, Release]

Check failure on line 14 in .github/workflows/windows.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/windows.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install cmake
uses: lukka/get-cmake@latest
- name: Prepare vcpkg
uses: lukka/run-vcpkg@v11
id: runvcpkg
with:
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
vcpkgJsonGlob: 'vcpkg.json'
- name: Run CMake consuming CMakePreset.json and run vcpkg to build packages
uses: lukka/run-cmake@v10
with:
configurePreset: 'ninja-multi-vcpkg'
configurePresetAdditionalArgs: "['-DCMAKE_CXX_STANDARD=17']"
buildPreset: 'ninja-multi-vcpkg'
buildPresetAdditionalArgs: "['--config Release']"
testPreset: 'ninja-multi-vcpkg'
testPresetAdditionalArgs: "['--config Release']"