Skip to content

Update deduction guides #270

Update deduction guides

Update deduction guides #270

Workflow file for this run

name: Windows Clang
on: [push, pull_request]
jobs:
build-and-test:
strategy:
matrix:
include:
# x64
- build_type: 'Release'
flags: '-std=c++23 -Werror -msse2 -DTEST_LIBCXX_NEW'
# x86
- build_type: 'Release'
flags: '-m32 -std=c++23 -Werror -msse2 -DTEST_LIBCXX_NEW'
- build_type: 'Release'
flags: '-m32 -std=c++23 -Werror -DTEST_LIBCXX_NEW -fno-rtti -DMOMO_USE_SAFE_MAP_BRACKETS -DMOMO_USE_UNORDERED_HINT_ITERATORS -DMOMO_DISABLE_TYPE_INFO'
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@v4
- name: Setup Clang
uses: egor-tensin/setup-clang@v1
- name: Build
env:
CXXFLAGS: ${{ matrix.flags }}
run: |
cd test
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
cmake --build . -v
- name: Test
run: test/build/momo_test.exe