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-04-21 19:19:56 +0300
committerRalph Giles <giles@thaumas.net>2020-04-21 19:21:01 +0300
commitb1cf02f69a92a3300dbd99ad0d4da168b35e0bdf (patch)
tree480dac95e0f2a79a4c8e8386a907fd9663ca1505
parent7f035cc695247b7392990963a265d03f17791ab1 (diff)
Add gitlab ci build description.
Do a trial build under autotools and cmake. After the same script in the vorbis project.
-rw-r--r--.gitlab-ci.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..5b1a779f
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,31 @@
+# Image from https://hub.docker.com/_/gcc/ based on Debian
+image: gcc
+
+autoconf:
+ stage: build
+ before_script:
+ - apt-get update &&
+ apt-get install -y zip doxygen
+ script:
+ - ./autogen.sh
+ - ./configure
+ - make
+ - make distcheck
+ cache:
+ paths:
+ - "lib/*.o"
+ - "lib/.libs/*.o"
+ tags:
+ - docker
+
+cmake:
+ stage: build
+ before_script:
+ - apt-get update &&
+ apt-get install -y cmake ninja-build
+ script:
+ - mkdir build
+ - cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
+ - cmake --build build
+ tags:
+ - docker