.gitlab-ci.yml 552 Bytes
Newer Older
Marvin Scholz's avatar
Marvin Scholz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 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