ref: 8890ea3e96cbeb813c8660bfb4222bad10009c60
parent: 38d4fd5d16056cc02274c8718bc23169b9d5ba55
author: Ralph Giles <giles@thaumas.net>
date: Fri Aug 8 05:20:56 EDT 2025
gitlab-ci: Add default cmake and cmake-nohttp jobs In addition to testing the build with a legacy cmake-3.16 upstream package, install the runner's default cmake version and test against that for broader coverage. On the current `gcc:9` container image this is cmake 3.18.4. Also test build with `-D OP_DISABLE_HTTP=YES` to confirm the build completes with this option, if not that it does what it's supposed to. This should protect against regression of the earlier fix.
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@
- make
- make distcheck
-cmake:
+cmake-3.16:
stage: build
before_script:
- apt-get update &&
@@ -27,6 +27,30 @@
- tar xzf cmake-3.16.9-Linux-x86_64.tar.gz
- cmake-3.16.9-Linux-x86_64/bin/cmake -Bbuild -H.
- cmake-3.16.9-Linux-x86_64/bin/cmake --build build
+ tags:
+ - docker
+
+cmake:
+ stage: build
+ before_script:
+ - apt-get update &&
+ apt-get install -y libopus-dev libogg-dev libssl-dev
+ cmake doxygen
+ script:
+ - cmake -Bbuild -H.
+ - cmake --build build
+ tags:
+ - docker
+
+cmake-nohttp:
+ stage: build
+ before_script:
+ - apt-get update &&
+ apt-get install -y libopus-dev libogg-dev libssl-dev
+ cmake doxygen
+ script:
+ - cmake -Bbuild -H. -D OP_DISABLE_HTTP=YES
+ - cmake --build build
tags:
- docker
--
⑨