Support build with demo. Merge mqttv311 protocol layer with mqttv5. Support debug mode. #895
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: darwin | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: build | |
runs-on: [macos-latest] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- name: Install Mbed TLS | |
run: brew install mbedtls | |
- name: Install ninja | |
run: brew install ninja | |
- name: Configure | |
run: mkdir build && cd build && cmake -G Ninja -DNNG_ENABLE_TLS=ON .. | |
- name: build | |
run: cd build && ninja | |
- name: Test | |
run: cd build && ctest --output-on-failure |