blob: 29652d4bbde2883ed66087bca47ab10df4d6a1e2 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
name: CI
on:
push:
branches:
- main
paths-ignore:
- '.github/workflows/docs.yaml'
- 'doc/oper-guide/**'
- 'CREDITS'
- 'LICENSE'
- 'NEWS.md'
- 'README.md'
pull_request:
branches:
- main
paths-ignore:
- '.github/workflows/docs.yaml'
- 'doc/oper-guide/**'
- 'CREDITS'
- 'LICENSE'
- 'NEWS.md'
- 'README.md'
jobs:
linux:
name: Linux
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
# Debian 11 Bullseye
- os: ubuntu-22.04
compiler: gcc-10
- os: ubuntu-22.04
compiler: clang-11
# Debian 12 Bookworm
- os: ubuntu-24.04
compiler: gcc-12
- os: ubuntu-24.04
compiler: clang-14
# Debian 13 Trixie
- os: ubuntu-24.04
compiler: gcc-14
- os: ubuntu-24.04
compiler: clang-19
# Ubuntu 22.04 Jammy
- os: ubuntu-22.04
compiler: gcc-11
- os: ubuntu-22.04
compiler: clang-14
# Ubuntu 24.04 Noble
- os: ubuntu-24.04
compiler: gcc-13
- os: ubuntu-24.04
compiler: clang-18
env:
CC: ${{ matrix.compiler }}
RUNNING_IN_CI: yes
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
${CC} \
automake \
autoconf \
libtool \
libltdl-dev \
libsqlite3-dev \
libhyperscan-dev \
# EOF
- uses: actions/checkout@main
with:
persist-credentials: false
submodules: recursive
- name: autogen.sh
run: bash autogen.sh
- name: configure
run: ./configure --enable-assert=hard --enable-warnings
- name: make
run: make -j2
- name: make check
run: make check
- name: make install
run: make install
|