-
Notifications
You must be signed in to change notification settings - Fork 63
75 lines (72 loc) · 1.78 KB
/
Copy pathci.yml
File metadata and controls
75 lines (72 loc) · 1.78 KB
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
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-meson:
name: Linux (meson)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
# can't check Debian 11 Bullseye because Ubuntu 22.04 Jammy's Meson is too old
# 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's Meson is too old
# 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} \
meson \
ninja-build \
libltdl-dev \
libsqlite3-dev \
libhyperscan-dev \
# EOF
- uses: actions/checkout@main
with:
persist-credentials: false
submodules: recursive
- name: meson setup
run: meson setup --buildtype debugoptimized --warnlevel 2 build/
- name: meson compile
run: meson compile -C build/
- name: meson test
run: meson test -C build/