@@ -0,0 +1,22 @@
+name: Build libmodbus
+
+on:
+ push:
+ branches: ["master"]
+ pull_request:
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: configure
+ run: ./autogen.sh && ./configure
+ - name: make
+ run: make
+ - name: make check
+ run: make check
+ - name: make distcheck
+ run: make distcheck
@@ -1,23 +0,0 @@
-name: Build libmodbus
-
-on:
- push:
- branches: [ "master" ]
- pull_request:
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - name: configure
- run: ./configure
- - name: make
- run: make
- - name: make check
- run: make check
- - name: make distcheck
- run: make distcheck