Verified Commit d1b5efe4 authored by Ralph Giles's avatar Ralph Giles
Browse files

gitlab-ci: Add a build description.



Describe builds for the gitlab continuous integration
service runners. This does a trial build under both
autotools and cmake, so we get some coverage for changes
on that hosting platform.

After the same script in the vorbis and ogg projects.
Signed-off-by: Mark Harris's avatarMark Harris <mark.hsj@gmail.com>
parent 5c94ec32
Pipeline #1891 passed with stage
in 4 minutes and 48 seconds
default:
tags:
- docker
# 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 doxygen
script:
- ./autogen.sh
- ./configure
- make
- make distcheck
cache:
paths:
- "src/*.o"
- "src/.libs/*.o"
- "silk/*.o"
- "silk/.libs/*.o"
- "celt/*.o"
- "celt/.libs/*.o"
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
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