diff options
author | Ralph Giles <giles@thaumas.net> | 2020-04-15 09:29:35 -0700 |
---|---|---|
committer | Ralph Giles <giles@thaumas.net> | 2020-04-15 09:46:20 -0700 |
commit | 99bfb5cbf9396bd463523bec05d4add1e4bead82 (patch) | |
tree | 020fcb17dca74de40f7ad5e61864febfa3a01ec1 | |
parent | 1e61905c7f8d30b884a48fca5d3029083ae077d5 (diff) | |
download | libvorbis-git-99bfb5cbf9396bd463523bec05d4add1e4bead82.tar.gz |
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.
-rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8633f76c..3341d50c 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 |