Skip to content

Commit 8890ea3

Browse files
committed
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.
1 parent 38d4fd5 commit 8890ea3

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.gitlab-ci.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ autotools:
1616
- make
1717
- make distcheck
1818

19-
cmake:
19+
cmake-3.16:
2020
stage: build
2121
before_script:
2222
- apt-get update &&
@@ -30,6 +30,30 @@ cmake:
3030
tags:
3131
- docker
3232

33+
cmake:
34+
stage: build
35+
before_script:
36+
- apt-get update &&
37+
apt-get install -y libopus-dev libogg-dev libssl-dev
38+
cmake doxygen
39+
script:
40+
- cmake -Bbuild -H.
41+
- cmake --build build
42+
tags:
43+
- docker
44+
45+
cmake-nohttp:
46+
stage: build
47+
before_script:
48+
- apt-get update &&
49+
apt-get install -y libopus-dev libogg-dev libssl-dev
50+
cmake doxygen
51+
script:
52+
- cmake -Bbuild -H. -D OP_DISABLE_HTTP=YES
53+
- cmake --build build
54+
tags:
55+
- docker
56+
3357
makefile:
3458
stage: build
3559
before_script:

0 commit comments

Comments
 (0)