diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c693597d053a1192c0d117d03e06207ecfbe7beb..4233217003b4611c3ab927dd489fbfd27df6020a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,21 +1,16 @@ buildtest: - image: debian:stretch + image: debian:bullseye stage: test script: - - apt update - - apt install -y wget - - 'echo "deb http://www.deb-multimedia.org stretch main non-free" >> /etc/apt/sources.list' - - wget https://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2016.8.1_all.deb - - dpkg -i deb-multimedia-keyring_2016.8.1_all.deb - - apt update - - uname -a - - apt install -y locales-all git build-essential make libavformat-dev libavcodec-dev libavfilter-dev libavutil-dev libxml2-dev libcurl4-openssl-dev - - make + - apt update + - apt install -y locales-all git build-essential make libavformat-dev libavcodec-dev libavfilter-dev libavutil-dev libxml2-dev libcurl4-openssl-dev + - make artifacts: paths: - - probe - - probe-raw - - remux thumbnail - - transcode - - publish_video - - simple_live_transcode + - probe + - probe-raw + - remux + - thumbnail + - transcode + - publish_video + - simple_live_transcode diff --git a/Makefile b/Makefile index 9c5766f18172e1c33593d458ec78bae1a936f4d6..17e276c9742b1c243e18e69f16ea0923ad13897b 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ TARGETS = probe probe-raw remux thumbnail transcode publish_video simple_live_tr CFLAGS = -I /usr/include/libxml2 LDFLAGS= -lcurl -lavcodec -lavformat -lavfilter -lswscale -lavutil -lxml2 +.c: + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + all: ${TARGETS} probe: probe.c *.h util/*.c