Debian Codegraph @

madrisan-nagios-plugins-linux/nagios-plugins-linux/.github/workflows/build-checks.yml

raw symbols SCIP
1 name: Build check
2
3 on:
4 push:
5 paths-ignore:
6 - '**.md'
7 pull_request:
8 types: [assigned, edited, opened, synchronize, reopened]
9
10 jobs:
11 build:
12 runs-on: ubuntu-latest
13 container: ${{ matrix.container }}
14
15 strategy:
16 fail-fast: false
17 matrix:
18 container:
19 - 'alpine:3.19'
20 - 'alpine:3.20'
21 - 'debian:11'
22 - 'debian:12'
23 - 'fedora:39'
24 - 'fedora:40'
25 - 'gentoo/stage3:latest'
26 - 'ubuntu:20.04'
27 - 'ubuntu:22.04'
28
29 steps:
30 - uses: actions/checkout@v2
31
32 - id: install_deps
33 run: |
34 case "${{ matrix.container }}" in
35 alpine*)
36 apk update
37 apk add autoconf automake bzip2 curl-dev file gcc libtool linux-headers make m4 musl-dev tar xz
38 ;;
39 debian*|ubuntu*)
40 export DEBIAN_FRONTEND=noninteractive
41 apt-get update -q
42 apt-get install -q -y --no-install-recommends autoconf automake bzip2 gcc libcurl4-gnutls-dev libsystemd-dev libtool m4 make pkg-config xz-utils
43 ;;
44 gentoo*)
45 :
46 ;;
47 fedora*)
48 dnf -y update
49 dnf -y install autoconf automake bzip2 diffutils gcc glibc-devel libcurl-devel libtool make m4 systemd-devel xz
50 ;;
51 esac
52
53 - id: configure
54 run: |
55 autoreconf --install
56 ./configure --enable-libcurl --enable-debug
57
58 - id: make
59 run: |
60 make
61 make check
62 make distcheck