Skip to content

Build

Build #6

Workflow file for this run

name: Build
on: [push, workflow_dispatch]
jobs:
build:
name: ${{ matrix.os }}-${{ github.workflow }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Restore artifacts, or setup vcpkg for building artifacts
uses: lukka/run-vcpkg@v10
id: runvcpkg
with:
vcpkgJsonGlob: 'vcpkg.json'
- name: Run CMake, vcpkg and Ninja to generate and build
uses: lukka/run-cmake@v10
id: runcmake
with:
configurePreset: 'ninja-multi-vcpkg'
buildPreset: 'ninja-multi-vcpkg-debug'