Commit f7461b99f6ed9178248c41e88fabe257440bd67a
Committed by
GitHub
1 parent
bba193cf
Add build check to CI
Showing
1 changed file
with
23 additions
and
0 deletions
.github/workflows/c-cpp.yml
0 → 100644
| 1 | +name: Build libmodbus | ||
| 2 | + | ||
| 3 | +on: | ||
| 4 | + push: | ||
| 5 | + branches: [ "master" ] | ||
| 6 | + pull_request: | ||
| 7 | + branches: [ "master" ] | ||
| 8 | + | ||
| 9 | +jobs: | ||
| 10 | + build: | ||
| 11 | + | ||
| 12 | + runs-on: ubuntu-latest | ||
| 13 | + | ||
| 14 | + steps: | ||
| 15 | + - uses: actions/checkout@v3 | ||
| 16 | + - name: configure | ||
| 17 | + run: ./configure | ||
| 18 | + - name: make | ||
| 19 | + run: make | ||
| 20 | + - name: make check | ||
| 21 | + run: make check | ||
| 22 | + - name: make distcheck | ||
| 23 | + run: make distcheck |