Skip to content

Windows

Windows #58

Workflow file for this run

name: Windows
on: [workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
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: ${{ vars.VCPKG_GIT_COMMIT_ID }}
- 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