|
1 | 1 | name: CI
|
2 | 2 |
|
| 3 | +# CI testing includes: |
| 4 | +# - Debian versions: 11 (bullseye), 12 (bookworm), 13 (trixie), sid (unstable) |
| 5 | +# - Various smoke test images (configurable via repository variables) |
| 6 | +# - TLS and no-TLS builds |
| 7 | +# - Code coverage and static analysis |
| 8 | + |
3 | 9 | on: [push, pull_request]
|
4 | 10 |
|
5 | 11 | jobs:
|
@@ -30,20 +36,58 @@ jobs:
|
30 | 36 | run: |
|
31 | 37 | apt-get -qq update -y
|
32 | 38 | apt-get install -y \
|
33 |
| - build-essential autoconf automake libpcre3-dev libevent-dev \ |
| 39 | + build-essential autoconf automake libevent-dev \ |
34 | 40 | pkg-config zlib1g-dev libssl-dev libboost-all-dev cmake flex
|
35 | 41 |
|
36 | 42 | - name: Build
|
37 | 43 | run: autoreconf -ivf && ./configure && make -j
|
38 | 44 |
|
| 45 | + test-debian-versions: |
| 46 | + runs-on: ubuntu-latest |
| 47 | + continue-on-error: true |
| 48 | + env: |
| 49 | + DEBIAN_FRONTEND: noninteractive |
| 50 | + strategy: |
| 51 | + matrix: |
| 52 | + debian_version: |
| 53 | + - "debian:bullseye" # Debian 11 (oldstable) |
| 54 | + - "debian:bookworm" # Debian 12 (stable) |
| 55 | + - "debian:trixie" # Debian 13 (testing) |
| 56 | + - "debian:sid" # Debian unstable |
| 57 | + container: ${{ matrix.debian_version }} |
| 58 | + name: Test ${{ matrix.debian_version }} |
| 59 | + steps: |
| 60 | + - name: Install git and basic tools |
| 61 | + run: | |
| 62 | + apt-get update -qq |
| 63 | + apt-get install -y git ca-certificates |
| 64 | +
|
| 65 | + - name: Checkout code |
| 66 | + uses: actions/checkout@v4 |
| 67 | + |
| 68 | + - name: Install build dependencies |
| 69 | + run: | |
| 70 | + apt-get update -qq |
| 71 | + apt-get install -y \ |
| 72 | + build-essential \ |
| 73 | + autoconf \ |
| 74 | + automake \ |
| 75 | + pkg-config \ |
| 76 | + libevent-dev \ |
| 77 | + zlib1g-dev \ |
| 78 | + libssl-dev |
| 79 | +
|
| 80 | + - name: Build |
| 81 | + run: autoreconf -ivf && ./configure && make -j |
| 82 | + |
39 | 83 | build-notls:
|
40 | 84 | runs-on: ubuntu-latest
|
41 | 85 | steps:
|
42 | 86 | - uses: actions/checkout@v4
|
43 | 87 | - name: Install dependencies
|
44 | 88 | run: |
|
45 | 89 | sudo apt-get -qq update
|
46 |
| - sudo apt-get install lcov autoconf automake pkg-config libevent-dev libpcre3-dev |
| 90 | + sudo apt-get install lcov autoconf automake pkg-config libevent-dev |
47 | 91 |
|
48 | 92 | - name: Build
|
49 | 93 | run: autoreconf -ivf && ./configure --disable-tls && make -j
|
|
55 | 99 | - name: Install dependencies
|
56 | 100 | run: |
|
57 | 101 | sudo apt-get -qq update
|
58 |
| - sudo apt-get install lcov autoconf automake pkg-config libevent-dev libpcre3-dev |
| 102 | + sudo apt-get install lcov autoconf automake pkg-config libevent-dev |
59 | 103 |
|
60 | 104 | - name: Build
|
61 | 105 | run: autoreconf -ivf && ./configure --disable-tls && make -j
|
|
70 | 114 | - name: Install dependencies
|
71 | 115 | run: |
|
72 | 116 | sudo apt-get -qq update
|
73 |
| - sudo apt-get install lcov autoconf automake pkg-config libevent-dev libpcre3-dev libssl-dev |
| 117 | + sudo apt-get install lcov autoconf automake pkg-config libevent-dev libssl-dev |
74 | 118 |
|
75 | 119 | - name: Build
|
76 | 120 | # for coverage reports we need to use Ubuntu 22.04 or lower
|
|
0 commit comments