.gitlab-ci.yml 640 Bytes
Newer Older
Mark Harris's avatar
Mark Harris committed
1 2
image: alpine

Mark Harris's avatar
Mark Harris committed
3 4 5 6 7 8 9 10 11
build-gcc:
  tags:
  - docker

  stage: build

  before_script:
  - apk update
  - apk add musl-dev git make gcc automake autoconf libtool file gzip zip xz
12
  - apk add linux-headers libogg-dev opus-dev opusfile-dev flac-dev libpcap-dev
Mark Harris's avatar
Mark Harris committed
13 14 15

  script:
  # build libopusenc
16
  - git clone "https://gitlab.xiph.org/xiph/libopusenc.git"
Mark Harris's avatar
Mark Harris committed
17 18 19 20 21 22 23 24 25 26 27 28
  - 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