Skip to content

cicd: update workflow to use windows-2022 #160

cicd: update workflow to use windows-2022

cicd: update workflow to use windows-2022 #160

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: Build kitty
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
msbuild kitty.sln /t:run_tests
working-directory: ./build
shell: cmd
- name: Run tests
run: |
cd build
.\test\Debug\run_tests