Skip to content

cicd: update workflow to use windows-2022 #161

cicd: update workflow to use windows-2022

cicd: update workflow to use windows-2022 #161

Workflow file for this run

name: Windows CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Create build directory
run: mkdir build
- name: Run CMake
run: cmake -G "Visual Studio 17 2022" -DKITTY_TEST=ON ..
working-directory: ./build
- name: Check Visual Studio installation
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -products * -requires Microsoft.Component.MSBuild
- name: Build kitty
run: msbuild kitty.sln /t:run_tests
working-directory: ./build
- name: Run tests
run: |
cd build
.\test\Debug\run_tests