1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-07-05 21:53:52 +02:00

libsrt got packaged in Alpine Linux

This commit is contained in:
Yohann D'ANELLO
2020-09-29 14:22:56 +02:00
parent d46efaae3c
commit ae7dcf4221
2 changed files with 7 additions and 8 deletions

View File

@ -6,8 +6,7 @@ unit_tests:
image: golang:1.15-alpine
stage: test
before_script:
- apk add --no-cache git build-base tcl pkgconfig cmake libressl-dev linux-headers
- git clone --depth 1 --branch v1.4.2 https://github.com/Haivision/srt && cd srt && ./configure --enable-apps=OFF && make install && cd .. && rm -rf srt
- apk add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libsrt-dev
script:
- go test -v -covermode=count -coverprofile cover.cov ./...
- go tool cover -func=cover.cov