Skip to content

Avoid using std::vector in libcxx tests #166

Avoid using std::vector in libcxx tests

Avoid using std::vector in libcxx tests #166

Workflow file for this run

name: C++/CLI
on: [push, pull_request]
jobs:
build-and-test:
strategy:
matrix:
include:
# Visual Studio 2019
- win_ver: '2019'
build_type: 'Release'
flags: '/clr /std:c++17 /WX'
# # Visual Studio 2022
# - win_ver: '2022'
# build_type: 'Release'
# flags: '/clr /std:c++17 /WX'
runs-on: windows-${{ matrix.win_ver }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
env:
CXXFLAGS: ${{ matrix.flags }}
run: |
cd test
mkdir build
cd build
cmake ..
cmake --build . --config ${{ matrix.build_type }}
# - name: Test
# run: test/build/${{ matrix.build_type }}/momo_test.exe