Add cmake build to gitlab ci.
Add an additional build job to the gitlab ci pipeline to do a
cmake build. This doesn't run tests, but gives us a little
bit of converage.
# Image from https://hub.docker.com/_/gcc/ based on Debian
image: gcc
-build:
+autoconf:
stage: build
before_script:
- apt-get update &&
@@ -17,3 +17,16 @@ build:
- "lib/.libs/*.o"
tags:
- docker
+
+cmake:
+ stage: build
+ before_script:
+ - apt-get update &&
+ apt-get install -y libogg-dev zip doxygen
+ cmake ninja-build
+ script:
+ - mkdir build
+ - cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
+ - cmake --build build
+ tags:
+ - docker
