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:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 7 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ddf8a228..5dd6ef15 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,8 @@
-# Image from https://hub.docker.com/_/gcc/ based on Debian
-image: gcc
+default:
+ tags:
+ - docker
+ # Image from https://hub.docker.com/_/gcc/ based on Debian
+ image: gcc
autoconf:
stage: build
@@ -19,8 +22,6 @@ autoconf:
- "silk/.libs/*.o"
- "celt/*.o"
- "celt/.libs/*.o"
- tags:
- - docker
cmake:
stage: build
@@ -29,10 +30,9 @@ cmake:
apt-get install -y cmake ninja-build
script:
- mkdir build
- - cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
+ - cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DOPUS_BUILD_TESTING=ON -DOPUS_BUILD_PROGRAMS=ON
- cmake --build build
- tags:
- - docker
+ - cd build && ctest --output-on-failure
doc:
stage: build
@@ -45,5 +45,3 @@ doc:
cache:
paths:
- doc/opus_testvectors.tar.gz
- tags:
- - docker