1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00

Add Gitlab CI build file

This will build icecast using Gitlab CI on the Xiph Gitlab with a
Docker image of Alpine Linux.
This commit is contained in:
Marvin Scholz 2018-01-13 21:09:11 +01:00
parent 4b45ed556f
commit e76508a887

27
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,27 @@
# 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