shithub: opusfile

ref: 8b2c85b136478357dc6e9fcabc677daebb96a31d
dir: /.gitlab-ci.yml/

View raw version
default:
  tags:
    - docker
  # Image from https://hub.docker.com/_/gcc/ based on Debian
  image: gcc:9

autotools:
  stage: build
  before_script:
    - apt-get update &&
      apt-get install -y libopus-dev libogg-dev libssl-dev
        zip
  script:
    - ./autogen.sh
    - ./configure
    - 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:
    - apt-get update &&
      apt-get install -y libopus-dev libogg-dev libssl-dev
  script:
    - make -C unix
    - make -C unix check

doc:
  stage: build
  before_script:
    - apt-get update &&
      apt-get install -y doxygen graphviz
  script:
    - make -C doc