Skip to content
Snippets Groups Projects
Commit 2bbc21e6 authored by Julian Rother's avatar Julian Rother
Browse files

Update Makefile and CI script for Debian Bullseye

parent a65b5ab0
No related branches found
No related tags found
No related merge requests found
buildtest: buildtest:
image: debian:stretch image: debian:bullseye
stage: test stage: test
script: script:
- apt update - 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 - apt install -y locales-all git build-essential make libavformat-dev libavcodec-dev libavfilter-dev libavutil-dev libxml2-dev libcurl4-openssl-dev
- make - make
artifacts: artifacts:
paths: paths:
- probe - probe
- probe-raw - probe-raw
- remux thumbnail - remux
- thumbnail
- transcode - transcode
- publish_video - publish_video
- simple_live_transcode - simple_live_transcode
...@@ -3,6 +3,9 @@ TARGETS = probe probe-raw remux thumbnail transcode publish_video simple_live_tr ...@@ -3,6 +3,9 @@ TARGETS = probe probe-raw remux thumbnail transcode publish_video simple_live_tr
CFLAGS = -I /usr/include/libxml2 CFLAGS = -I /usr/include/libxml2
LDFLAGS= -lcurl -lavcodec -lavformat -lavfilter -lswscale -lavutil -lxml2 LDFLAGS= -lcurl -lavcodec -lavformat -lavfilter -lswscale -lavutil -lxml2
.c:
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
all: ${TARGETS} all: ${TARGETS}
probe: probe.c *.h util/*.c probe: probe.c *.h util/*.c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment