1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-16 06:15:24 +00:00
icecast-server/.gitlab-ci.yml
Marvin Scholz e76508a887 Add Gitlab CI build file
This will build icecast using Gitlab CI on the Xiph Gitlab with a
Docker image of Alpine Linux.
2018-01-13 21:09:11 +01:00

28 lines
552 B
YAML

# Build Icecast
build:
variables:
GIT_SUBMODULE_STRATEGY: recursive
tags:
- alpine
- docker
stage: build
before_script:
- apk update
- apk add musl-dev git make gcc automake autoconf libtool
- apk add curl-dev openssl-dev libogg-dev libvorbis-dev libxslt-dev libxml2-dev
# Required for tests
#- apk add curl ffmpeg
# Create user to run tests
#- adduser -s /bin/sh -D -H icecast
script:
- ./autogen.sh
- ./configure || cat config.log
- make
# Tests
#- su -c "./tests/admin-tests.sh" icecast