Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2020-06-14 11:32:11 +0300
committerRalph Giles <giles@thaumas.net>2020-06-14 11:32:11 +0300
commite47c94378a256f706f771e29ce2dbdf32c3734b3 (patch)
treefb78364f7d4a3900938234c614f7fb27af4c9f76
parent009f053f0f212f7fd5ff3923e35fc0e984ee426d (diff)
gitlab-ci: Add a partial matrix of unix Makefile configs.
Verify building with Makefile.unix under gitlab's continuous integration system. It doesn't have a full matrix, but this gives us converage for a few common configurations.
-rw-r--r--.gitlab-ci.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 502b08f2..0f67bbc4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,3 +33,33 @@ cmake:
- cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DOPUS_BUILD_TESTING=ON -DOPUS_BUILD_PROGRAMS=ON
- cmake --build build
- cd build && ctest --output-on-failure
+
+.make:
+ stage: build
+ script:
+ - make -f Makefile.unix ${CFLAGS}
+ - make -f Makefile.unix ${CFLAGS} check
+ - make -f Makefile.unix ${CFLAGS} clean
+
+make.float:
+ extends: .make
+
+make.float.lrintf:
+ extends: .make
+ variables:
+ CFLAGS: -DHAVE_LRINTF
+
+make.float.vararrays:
+ extends: .make
+ variables:
+ CFLAGS: DVAR_ARRAYS
+
+make.fixed:
+ extends: .make
+ variables:
+ CFLAGS: FIXED_POINT=1
+
+make.fixed.vararrays:
+ extends: .make
+ variables:
+ CFLAGS: FIXED_POINT=1 -DVAR_ARRAYS