shithub: opusfile

Download patch

ref: 068e1f4d4d89173c91f3bb44f8365b3313c6a35f
parent: 061728e6bd4d4c6168e0e07d6720ba75614b100e
author: Hendrik <git@h3ndrk.de>
date: Mon May 31 16:01:29 EDT 2021

Add CMake building to Travis CI and GitLab CI

Signed-off-by: Ralph Giles <giles@thaumas.net>
Signed-off-by: evpobr <evpobr@gmail.com>

--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,20 @@
     - make
     - make distcheck
 
+cmake:
+  stage: build
+  before_script:
+    - apt-get update &&
+      apt-get install -y libopus-dev libogg-dev libssl-dev
+        doxygen
+  script:
+    - wget https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-linux-x86_64.tar.gz
+    - tar xzvf cmake-3.20.3-linux-x86_64.tar.gz
+    - cmake-3.20.3-linux-x86_64/bin/cmake -Bbuild -H.
+    - cmake-3.20.3-linux-x86_64/bin/cmake --build build
+  tags:
+    - docker
+
 makefile:
   stage: build
   before_script:
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,8 +13,11 @@
 addons:
   apt:
     packages:
+      - doxygen
       - libogg-dev
       - libopus-dev
+      - libssl-dev
+      - wget
   homebrew:
     brewfile: true
 
@@ -21,6 +24,10 @@
 env: PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl/lib/pkgconfig
 
 script:
+  - wget https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-linux-x86_64.tar.gz
+  - tar xzvf cmake-3.20.3-linux-x86_64.tar.gz
+  - cmake-3.20.3-linux-x86_64/bin/cmake -Bbuild -H.
+  - cmake-3.20.3-linux-x86_64/bin/cmake --build build
   - ./autogen.sh
   - ./configure
   - make