2018-01-13 15:09:11 -05:00
|
|
|
# Build Icecast
|
|
|
|
build:
|
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
|
2020-12-03 18:54:28 -05:00
|
|
|
image: alpine:3.12
|
|
|
|
|
2018-01-13 15:09:11 -05:00
|
|
|
stage: build
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- apk update
|
|
|
|
- apk add musl-dev git make gcc automake autoconf libtool
|
2019-04-04 03:44:42 -04:00
|
|
|
- apk add curl-dev libogg-dev libvorbis-dev libxslt-dev libxml2-dev
|
2018-01-13 15:09:11 -05:00
|
|
|
# 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
|
|
|
|
|