]> git.ipfire.org Git - thirdparty/systemd.git/blame - fuzzbuzz.yaml
ci: add dependencies for repart + cryptsetup's pkcs#11 support
[thirdparty/systemd.git] / fuzzbuzz.yaml
CommitLineData
87ac55a1
EV
1base: ubuntu:16.04
2language: c
3setup:
4- sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list"
5- sudo apt-get update -y
6- sudo apt-get build-dep -y systemd
7- sudo apt-get install -y python3-pip
e65f29b4 8- sudo apt-get install -y libfdisk-dev libp11-kit-dev libssl-dev
51479365
FS
9# FIXME: temporarily pin the meson version as 0.53 doesn't work with older
10# python 3.5
11# # See: https://github.com/mesonbuild/meson/issues/6427
12#
13- pip3 install meson==0.52.1 ninja
87ac55a1
EV
14- export PATH="$HOME/.local/bin/:$PATH"
15- CC=$FUZZ_CC CXX=$FUZZ_CXX meson -Dfuzzbuzz=true -Dfuzzbuzz-engine-dir=$(dirname "$FUZZ_ENGINE") -Dfuzzbuzz-engine=$(cut -d. -f1 <(basename "$FUZZ_ENGINE")) -Db_lundef=false ./build
16- ninja -v -C ./build fuzzers
17environment:
18targets:
19- name: fuzz-compress
20 harness:
21 binary: ./build/fuzz-compress
22- name: fuzz-unit-file
23 harness:
24 binary: ./build/fuzz-unit-file
25 corpus: ./test/fuzz/fuzz-unit-file
26- name: fuzz-journald-syslog
27 harness:
28 binary: ./build/fuzz-journald-syslog
29 corpus: ./test/fuzz/fuzz-journald-syslog
30- name: fuzz-netdev-parser
31 harness:
32 binary: ./build/fuzz-netdev-parser
33 corpus: ./test/fuzz/fuzz-netdev-parser
34- name: fuzz-network-parser
35 harness:
36 binary: ./build/fuzz-network-parser
37 corpus: ./test/fuzz/fuzz-network-parser