Add CircleCI build for Debian Bullseye

This commit is contained in:
gschauer 2021-12-08 14:43:49 +00:00
parent 566f248aee
commit 229cba65bb
3 changed files with 17 additions and 1 deletions

View File

@ -136,6 +136,20 @@ jobs:
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
- store_artifacts:
path: /root/debs/
build_debian_bullseye:
docker:
- image: debian:bullseye
steps:
- run: apt-get update
- run: DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" apt-get install -y git ssh sshpass build-essential clang cmake libboost-thread1.74-dev libboost-system1.74-dev libboost-filesystem1.74-dev libboost-date-time1.74-dev libboost-atomic1.74-dev libboost-chrono1.74-dev libogg-dev libvorbis-dev libavutil-dev libavformat-dev libswresample-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev libev-dev libssl-dev libtag1-dev libsystemd-dev
- checkout
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=debian -DDEB_DISTRO=bullseye -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
- run: make -j2
- run: make package
- run: ./script/copy-artifacts-to-host.sh /root/project/*.deb
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
- store_artifacts:
path: /root/debs/
workflow_filters: &workflow_filters
filters:
branches:
@ -156,3 +170,4 @@ workflows:
- build_fedora_35: *workflow_filters
- build_mint_uma: *workflow_filters
- build_debian_buster: *workflow_filters
- build_debian_bullseye: *workflow_filters

View File

@ -324,7 +324,7 @@ if (GENERATE_DEB MATCHES "1")
set(DEB_AVFORMAT_VERSION "58")
set(DEB_SWRESAMPLE_VERSION "3")
set(DEB_NCURSES_VERSION "6")
elseif (DEB_DISTRO MATCHES "impish")
elseif (DEB_DISTRO MATCHES "impish" OR DEB_DISTRO MATCHES "bullseye")
set(DEB_BOOST_VERSION "1.74.0")
set(DEB_MICROHTTPD_VERSION "12")
set(DEB_LIBCURL_VERSION "4")

View File

@ -44,6 +44,7 @@ ALL_JOBS=(
"build_fedora_35"
"build_mint_uma"
"build_debian_buster"
"build_debian_bullseye"
)
BRANCH="clangen/local-circle-ci"