2023-10-28 00:52:31 +02:00
|
|
|
.vpath-tests:
|
|
|
|
script:
|
|
|
|
- ./autogen
|
|
|
|
- mkdir -p build-tree
|
|
|
|
- cd build-tree
|
|
|
|
- ../configure
|
|
|
|
- make check
|
|
|
|
|
2022-01-24 15:11:38 +01:00
|
|
|
.unit-tests:
|
2023-03-29 09:35:27 +02:00
|
|
|
script:
|
|
|
|
- ./autogen && ./configure
|
|
|
|
- make check
|
|
|
|
|
|
|
|
.unit-tests-asan:
|
2018-05-31 03:59:49 +02:00
|
|
|
script:
|
2021-02-20 22:23:40 +01:00
|
|
|
- ./autogen && ./configure --enable-sanitize
|
2018-05-31 03:59:49 +02:00
|
|
|
- make check
|
2021-02-28 05:16:01 +01:00
|
|
|
|
2022-01-24 15:11:38 +01:00
|
|
|
.coverage:
|
2021-02-28 05:16:01 +01:00
|
|
|
script:
|
|
|
|
- ./autogen && ./configure --disable-static
|
|
|
|
- make check CFLAGS="--coverage -O0 -ggdb" LDFLAGS="--coverage -O0 -ggdb"
|
|
|
|
- gcovr -s -e test/
|
2023-10-28 00:47:26 +02:00
|
|
|
coverage: /^TOTAL.*\s+(\d+\%)$/
|
2022-01-24 15:11:38 +01:00
|
|
|
|
|
|
|
.debian:
|
2023-02-17 22:28:45 +01:00
|
|
|
image: debian:latest
|
2022-01-24 15:11:38 +01:00
|
|
|
stage: test
|
|
|
|
before_script:
|
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -qq -y --no-install-recommends
|
|
|
|
git gcc make autoconf automake libtool libmd-dev gcovr
|
|
|
|
|
|
|
|
.alpine:
|
|
|
|
image: alpine:latest
|
|
|
|
stage: test
|
|
|
|
before_script:
|
|
|
|
- apk add --no-cache git gcc make autoconf automake libtool
|
|
|
|
bsd-compat-headers linux-headers libmd-dev musl-dev gcovr
|
|
|
|
|
2023-10-28 00:52:31 +02:00
|
|
|
vpath-tests:debian:
|
|
|
|
extends: [.debian, .vpath-tests]
|
|
|
|
|
2022-01-24 15:11:38 +01:00
|
|
|
unit-tests:debian:
|
2023-03-29 09:35:27 +02:00
|
|
|
extends: [.debian, .unit-tests-asan]
|
2022-01-24 15:11:38 +01:00
|
|
|
|
|
|
|
coverage:debian:
|
|
|
|
extends: [.debian, .coverage]
|
|
|
|
|
|
|
|
unit-tests:alpine:
|
|
|
|
extends: [.alpine, .unit-tests]
|
|
|
|
|
|
|
|
coverage:alpine:
|
|
|
|
extends: [.alpine, .coverage]
|