Build #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |