Suppress annoying warnings on new MSVC #16
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: Unit tests Mac OS | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
pull_request: | |
schedule: | |
- cron: '0 0 1 * *' | |
jobs: | |
MacOS: | |
name: Mac OS | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
standard: [11, 20] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: CMake build tests Mac OS | |
shell: bash | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS="-fno-omit-frame-pointer -fsanitize=undefined" -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=undefined -DCMAKE_CXX_STANDARD=${{ matrix.standard }} | |
cmake --build . | |
- name: CMake run tests Mac OS | |
shell: bash | |
run: | | |
cd build | |
bin/test-result | |
bin/test-status-code | |
bin/test-status-code-noexcept | |
bin/test-status-code-not-posix | |
bin/test-status-code-p0709a |