Add a CI workflow to build the code and run tests

Example output here: https://github.com/jonathangjertsen/nanoMODBUS/runs/7471676743

I'll try to build the Arduino examples as well, but this is a start
This commit is contained in:
jonath.re@gmail.com 2022-07-22 18:00:05 +02:00
parent 10b9a0c13b
commit f926cd4a81

15
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: ci
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: build
run: |
mkdir build
cd build
cmake ..
make
./nanomodbus_tests