fixes #1866 clock_gettime is not used on Android, even though available #1805
Workflow file for this run
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: linux | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: build | |
runs-on: [ ubuntu-latest ] | |
steps: | |
- name: Check out code | |
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 -D NNG_ENABLE_TLS=ON .. | |
- name: Build | |
run: cd build && ninja | |
- name: Test | |
run: cd build && ctest --output-on-failure |