Skip to content

fixes #1866 clock_gettime is not used on Android, even though available #1699

fixes #1866 clock_gettime is not used on Android, even though available

fixes #1866 clock_gettime is not used on Android, even though available #1699

Workflow file for this run

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
- name: Install mbedTLS
run: sudo apt-get install libmbedtls-dev
- name: Install ninja
run: sudo apt-get install ninja-build
- 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