diff options
| author | Lorenz Kästle <lorenz.kaestle@netways.de> | 2023-03-09 11:46:26 +0100 |
|---|---|---|
| committer | Lorenz Kästle <lorenz.kaestle@netways.de> | 2023-03-09 11:46:26 +0100 |
| commit | e4ddeb7bb722b50613108da1cb51a48e84068701 (patch) | |
| tree | 185f2715ee097171235fabe8c090f3358dd7356e /.github/workflows/test.yml | |
| parent | 305d1529f8a6a221eddf558710b89d5697fae6bc (diff) | |
| download | monitoring-plugins-e4ddeb7.tar.gz | |
Add build pipeline as a precondition for full test
Diffstat (limited to '.github/workflows/test.yml')
| -rw-r--r-- | .github/workflows/test.yml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80d49f7e..60b60c3f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
| @@ -7,9 +7,21 @@ on: | |||
| 7 | pull_request: | 7 | pull_request: |
| 8 | 8 | ||
| 9 | jobs: | 9 | jobs: |
| 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: |
