shithub: opus-tools

ref: ae5d6d59e82ef40300a4dece7897499685f87184
dir: /.gitlab-ci.yml/

View raw version
image: alpine

build-gcc:
  tags:
  - docker

  stage: build

  before_script:
  - apk update
  - apk add musl-dev git make gcc automake autoconf libtool file gzip zip xz
  - apk add linux-headers libogg-dev opus-dev opusfile-dev flac-dev libpcap-dev

  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