mesytec-mnode/.github/workflows/linux.yml
Florian Lüke 3a3a557efe Squashed 'external/nng/' content from commit c5e9d8ac
git-subtree-dir: external/nng
git-subtree-split: c5e9d8acfc226418dedcf2e34a617bffae043ff6
2023-06-27 18:01:51 +02:00

25 lines
No EOL
531 B
YAML

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