Skip to content

Windows

Windows #57

Workflow file for this run

name: Windows
on: [pull_request, workflow_dispatch]
jobs:
build:
runs-on: windows-latest
env:
VCPKG_DEFAULT_TRIPLET: x64-windows
VCPKG_ROOT: C:\vcpkg
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Setup Clang
uses: egor-tensin/setup-clang@v1
with:
platform: x64
- name: Restore artifacts, or setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: c6d6efed3e9b4242765bfe1b5c5befffd85f7b92
- name: Install vcpkg packages and configure CMake
run: |
vcpkg install
cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo -D ENABLE_TESTING:BOOL=TRUE -D ENABLE_CACHE:BOOL=FALSE -S . -B build
- name: Build
run: cmake --build build