Skip to content

Update test configs #262

Update test configs

Update test configs #262

Workflow file for this run

name: MSVC Clang
on: [push, pull_request]
jobs:
build-and-test:
strategy:
matrix:
include:
# Clang 12.0.0 with MSVC-like command-line
- win_ver: '2019'
build_type: 'Release'
flags: '/std:c++latest -msse2'
- win_ver: '2022'
build_type: 'Release'
flags: '/std:c++latest -msse2'
runs-on: windows-${{ matrix.win_ver }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
env:
CXXFLAGS: ${{ matrix.flags }}
run: |
cd test
mkdir build
cd build
cmake .. -T ClangCL
cmake --build . --config ${{ matrix.build_type }}
- name: Test
run: test/build/${{ matrix.build_type }}/momo_test.exe