1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00
icecast-server/.gitlab-ci.yml
Ralph Giles 2ef043decf
gitlab-ci: Fix build environment.
Replace the `alpine` tag with an explicit `alpine` container
version. This will dispatch on the currently available ci
runners in the upstream gitlab repository.

We prefer an explicit version so we have more control over
updates to the testing environment. This will need to be
bumped periodically.
2020-12-03 15:54:28 -08:00

29 lines
549 B
YAML

# Build Icecast
build:
variables:
GIT_SUBMODULE_STRATEGY: recursive
tags:
- docker
image: alpine:3.12
stage: build
before_script:
- apk update
- apk add musl-dev git make gcc automake autoconf libtool
- apk add curl-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