Add gitlab integration tests.

We've moved hosting to a gitlab instance. Make use of the built-in
integration testing framework to verify commits.

This has parallel jobs to run the autotools and cmake builds.

Note that the autotools job needs cmake because the `distcheck`
target verifies that the generated source package also builds
correctly with cmake, in particular to check that the necessary
files are included.
parent 6e9f7cc2
Pipeline #1847 passed with stage
in 53 seconds
# Image from https://hub.docker.com/_/gcc/ based on Debian
image: gcc
autoconf:
stage: build
before_script:
- apt-get update &&
apt-get install -y zip cmake
script:
- ./autogen.sh
- ./configure
- make
- make distcheck
tags:
- docker
cmake:
stage: build
before_script:
- apt-get update &&
apt-get install -y cmake ninja-build
script:
- mkdir build
- cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
- cmake --build build
tags:
- docker
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment