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:
parent
10b9a0c13b
commit
f926cd4a81
15
.github/workflows/ci.yml
vendored
Normal file
15
.github/workflows/ci.yml
vendored
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user