forked from collectd/collectd
-
Notifications
You must be signed in to change notification settings - Fork 14
79 lines (79 loc) · 2.13 KB
/
ci.yml
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
on: [push, pull_request]
name: Test
jobs:
test:
runs-on: ubuntu-20.04
env:
CC: gcc
steps:
- run: |
sudo apt-get update && sudo apt-get install \
autotools-dev \
libatasmart-dev \
libcap-dev \
libcurl4-gnutls-dev \
libdbi0-dev \
libesmtp-dev \
libganglia1-dev \
libgcrypt20-dev \
libglib2.0-dev \
libgps-dev \
libhiredis-dev \
libi2c-dev \
libiptc-dev \
libldap2-dev \
libltdl-dev \
liblua50-dev \
liblua5.1-0-dev \
liblua5.2-dev \
libmicrohttpd-dev \
libmnl-dev \
libmodbus-dev \
libmongoc-dev \
libmosquitto-dev \
libmysqlclient-dev \
libnotify-dev \
libopenipmi-dev \
liboping-dev \
libow-dev \
libpcap-dev \
libperl-dev \
libpq-dev \
libprotobuf-c-dev \
librabbitmq-dev \
librdkafka-dev \
libriemann-client-dev \
librrd-dev \
libsensors4-dev \
libsigrok-dev \
libsnmp-dev \
libtokyocabinet-dev \
libtokyotyrant-dev \
libudev-dev \
libupsclient-dev \
libvarnish-dev \
libvirt-dev \
libxen-dev \
libxml2-dev \
libxtables-dev \
libyajl-dev \
linux-libc-dev \
perl \
protobuf-c-compiler \
python3-dev \
python-dev \
xfslibs-dev
- uses: actions/checkout@v2
with:
submodules: true
- name: autoconf
run: |
sh clean.sh
sh build.sh
autoreconf -vif
- run: ./configure --enable-debug
# VERBOSE=1 dumps the contents of the test suites logs to standard output.
# -fsanitize=address enables https://github.com/google/sanitizers/wiki/AddressSanitizer
# -ldl works around a dlsym error when tsan is enabled in this environment.
- run: make check VERBOSE=1 CFLAGS=-fsanitize=address LDFLAGS="-ldl -fsanitize=address"
- run: make distcheck