From 99bfb5cbf9396bd463523bec05d4add1e4bead82 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Wed, 15 Apr 2020 09:29:35 -0700 Subject: [PATCH] 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. --- .gitlab-ci.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8633f76..3341d50 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ # 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 -- 2.34.1