Skip to content

[hotfix] Run single core when building with GCC #867

[hotfix] Run single core when building with GCC

[hotfix] Run single core when building with GCC #867

name: msvc
on:
push:
branches:
- 'main'
workflow_dispatch:
pull_request:
jobs:
build:
name: ci-windows-msvc-19
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: Configure cl.exe in PATH
uses: ilammy/msvc-dev-cmd@v1
- name: Configure CMake
run: |
cmake -S . --preset=windows-msvc-debug -DBUILD_TESTING:BOOL=ON
- name: Build
run: cmake --build --preset=windows-msvc-debug
- name: Test
run: ctest --preset=windows-msvc-debug