Avoid using std::vector in libcxx tests #166
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |