|
21 | 21 | - 'debian:buster' |
22 | 22 | - 'debian:bullseye' |
23 | 23 | - 'debian:bookworm' |
24 | | - - 'quay.io/centos/centos:stream8' |
| 24 | + - 'rockylinux:8' |
25 | 25 | - 'oraclelinux:8' |
26 | 26 | - 'oraclelinux:9' |
27 | 27 |
|
|
39 | 39 | apt-get -y install librdkafka-dev |
40 | 40 | env: |
41 | 41 | DEBIAN_FRONTEND: noninteractive |
42 | | - - name: Enable additional repositories (CentOS Steam) |
43 | | - if: contains(matrix.image, 'centos:stream') |
| 42 | + - name: Enable additional repositories (Rocky Linux) |
| 43 | + if: contains(matrix.image, 'rockylinux') |
44 | 44 | run: | |
45 | 45 | dnf -y install 'dnf-command(config-manager)' |
46 | 46 | dnf config-manager --set-enabled appstream powertools |
|
54 | 54 | run: | |
55 | 55 | dnf -y install 'dnf-command(config-manager)' |
56 | 56 | dnf config-manager --set-enabled ol9_appstream ol9_codeready_builder |
57 | | - - name: Enable EPEL (CentOS) |
58 | | - if: contains(matrix.image, 'centos') |
| 57 | + - name: Enable EPEL (Rocky Linux) |
| 58 | + if: contains(matrix.image, 'rockylinux') |
59 | 59 | run: | |
60 | 60 | yum -y install epel-release |
61 | 61 | - name: Enable EPEL (Oracle Linux 8) |
|
66 | 66 | if: contains(matrix.image, 'oraclelinux:9') |
67 | 67 | run: | |
68 | 68 | dnf -y install oracle-epel-release-el9 |
69 | | - - name: Install dependencies for libfds and IPFIXcol2 (CentOS, Oracle Linux) |
70 | | - if: contains(matrix.image, 'centos') || contains(matrix.image, 'oraclelinux') |
| 69 | + - name: Install dependencies for libfds and IPFIXcol2 (Rocky Linux, Oracle Linux) |
| 70 | + if: contains(matrix.image, 'rockylinux') || contains(matrix.image, 'oraclelinux') |
71 | 71 | run: | |
72 | 72 | yum -y install git gcc gcc-c++ cmake make libxml2-devel lz4-devel libzstd-devel |
73 | 73 | yum -y install zlib-devel pkgconfig librdkafka-devel |
|
95 | 95 | - name: Build and install IPFIXcol2 |
96 | 96 | run: | |
97 | 97 | mkdir build && cd build |
98 | | - cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=$TESTS |
| 98 | + cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=1 |
99 | 99 | make && make install |
100 | | - env: |
101 | | - TESTS: ${{ startsWith(matrix.image, 'centos:7') != true }} |
102 | 100 | - name: Run tests |
103 | 101 | run: cd build && make test |
104 | 102 | - name: Try to run IPFIXcol2 |
|
0 commit comments