Skip to content

Windows-build

Windows-build #1

Workflow file for this run

name: Windows-build
on:
workflow_dispatch:
jobs:
job:
runs-on: windows-latest
env:
VCPKG_DEFAULT_TRIPLET: x64-windows-static
steps:
- uses: Jimver/cuda-toolkit@v0.2.14
id: cuda-toolkit
with:
cuda: '11.8.0'
- uses: actions/checkout@v4
with:
submodules: true
- uses: lukka/get-cmake@latest
- name: Restore from cache and setup vcpkg executable and data files.
uses: lukka/run-vcpkg@v11
with:
vcpkgJsonGlob: 'vcpkg.json'
- name: Run CMake+vcpkg+Ninja+CTest to build packages and generate/build/test the code.
uses: lukka/run-cmake@v10
with:
configurePreset: 'ninja-multi-vcpkg'
buildPreset: 'ninja-vcpkg-release'