Module: monitoring-plugins Branch: RincewindsHat-patch-1 Commit: e4ddeb7bb722b50613108da1cb51a48e84068701 Author: Lorenz Kästle <lorenz.kaes...@netways.de> Date: Thu Mar 9 11:46:26 2023 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=e4ddeb7
Add build pipeline as a precondition for full test --- .github/workflows/c-cpp.yml | 23 ----------------------- .github/workflows/test.yml | 16 ++++++++++++++-- 2 files changed, 14 insertions(+), 25 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml deleted file mode 100644 index 6c8b63c..0000000 --- a/.github/workflows/c-cpp.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: C/C++ CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Install gettext - run: sudo apt-get install gettext - - name: setup - run: ./tools/setup - - name: CFLAGS="-Wall -Wextra -std=c90" configure - run: ./configure - - name: make - run: make diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80d49f7..60b60c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,9 +7,21 @@ on: pull_request: jobs: -# macos: -# ... + build-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install gettext + run: sudo apt-get install gettext + - name: setup + run: ./tools/setup + - name: CFLAGS="-Wall -Wextra -std=c90" configure + run: ./configure + - name: make + run: make + linux: + needs: build-test runs-on: ubuntu-latest name: Running tests on ${{ matrix.distro }} strategy: