Skip to content

Revert r5469 and r5470, older version of windows may not return a val… #272

Revert r5469 and r5470, older version of windows may not return a val…

Revert r5469 and r5470, older version of windows may not return a val… #272

name: CMake MSVC noyasm
on: push
jobs:
build:
defaults:
run:
shell: cmd
strategy:
matrix:
# currently windows-latest==windows-2022
# windows-2022: VS2022
# windows-2019: VS2019
os: [windows-2022, windows-2019]
arch: [x86, x64, amd64_arm, amd64_arm64]
shared: [ON, OFF]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup vcvars
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
- name: Install ninja
uses: turtlesec-no/get-ninja@main
- name: CMake (configure)
run: cmake -S ports\cmake -B build -GNinja -DBUILD_SHARED_LIBS=${{ matrix.shared }} .
- name: CMake --build
run: cmake --build build