summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <lorenz.kaestle@netways.de>2023-03-09 10:46:26 (GMT)
committerLorenz Kästle <lorenz.kaestle@netways.de>2023-03-09 10:46:26 (GMT)
commite4ddeb7bb722b50613108da1cb51a48e84068701 (patch)
tree185f2715ee097171235fabe8c090f3358dd7356e
parent305d1529f8a6a221eddf558710b89d5697fae6bc (diff)
downloadmonitoring-plugins-e4ddeb7.tar.gz
Add build pipeline as a precondition for full test
-rw-r--r--.github/workflows/c-cpp.yml23
-rw-r--r--.github/workflows/test.yml16
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 @@
1name: C/C++ CI
2
3on:
4 push:
5 branches: [ "master" ]
6 pull_request:
7 branches: [ "master" ]
8
9jobs:
10 build:
11
12 runs-on: ubuntu-latest
13
14 steps:
15 - uses: actions/checkout@v3
16 - name: Install gettext
17 run: sudo apt-get install gettext
18 - name: setup
19 run: ./tools/setup
20 - name: CFLAGS="-Wall -Wextra -std=c90" configure
21 run: ./configure
22 - name: make
23 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:
7 pull_request: 7 pull_request:
8 8
9jobs: 9jobs:
10# macos: 10 build-test:
11# ... 11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v3
14 - name: Install gettext
15 run: sudo apt-get install gettext
16 - name: setup
17 run: ./tools/setup
18 - name: CFLAGS="-Wall -Wextra -std=c90" configure
19 run: ./configure
20 - name: make
21 run: make
22
12 linux: 23 linux:
24 needs: build-test
13 runs-on: ubuntu-latest 25 runs-on: ubuntu-latest
14 name: Running tests on ${{ matrix.distro }} 26 name: Running tests on ${{ matrix.distro }}
15 strategy: 27 strategy: