fixes #1675 undefined behavior in posix ipc_dialer_dial #763
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: sanitize | |
on: [push, pull_request] | |
jobs: | |
sanitize: | |
env: | |
CC: clang | |
CXX: clang++ | |
CTEST_OUTPUT_ON_FAILURE: 1 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
sanitizer: [ address, undefined, thread ] | |
os: [ ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: mstksg/get-package@v1 | |
with: | |
apt-get: ninja-build libmbedtls-dev | |
brew: ninja mbedtls | |
- name: Configure | |
run: | | |
mkdir build | |
cd build | |
cmake -G Ninja -DNNG_SANITIZER=${{ matrix.sanitizer }} -DCMAKE_BUILD_TYPE=Debug -DNNG_ENABLE_TLS=ON -DNNG_TOOLS=OFF .. | |
- name: Build | |
run: | | |
cd build | |
ninja | |
- name: Test | |
run: | | |
cd build | |
ninja test |