From 88af31cb54ad2b3968c65d09d78733693119e1a0 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Fri, 12 Aug 2022 10:45:56 +0200 Subject: [PATCH] Add autogen.sh call --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ .github/workflows/c-cpp.yml | 23 ----------------------- 2 files changed, 22 insertions(+), 23 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..dfb86f8 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build libmodbus + +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + +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 diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml deleted file mode 100644 index a3b915a..0000000 --- a/.github/workflows/c-cpp.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build libmodbus - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -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 -- libgit2 0.21.4