shithub: opus-tools

ref: 4a6dd6971b2ca0f4a7aa5caf8f7611c67c6a1455
dir: /.gitlab-ci.yml/

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

autoconf:
  stage: build
  before_script:
  - apt-get update &&
    apt-get install -y libogg-dev libopus-dev libopusfile-dev libflac-dev libpcap-dev zip
  script:
  # build libopusenc
  - git clone "https://gitlab.xiph.org/xiph/libopusenc.git"
  - cd libopusenc
  - ./autogen.sh
  - ./configure --prefix="$(pwd)/_inst" || cat config.log
  - make check
  - make install
  - export PKG_CONFIG_PATH="$(pwd)/_inst/lib/pkgconfig"
  - cd ..
  # build opus-tools
  - ./autogen.sh
  - ./configure || cat config.log
  - make check
  - make distcheck