mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-01 03:54:14 -04:00
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.
29 lines
549 B
YAML
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
|
|
|