Ubuntu Disco support!

This commit is contained in:
casey langen 2019-04-30 22:07:18 -07:00
parent 2b8c653934
commit 57b216d6bc
2 changed files with 16 additions and 2 deletions

View File

@ -39,6 +39,19 @@ jobs:
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
- store_artifacts:
path: /root/debs/
build_ubuntu_disco:
docker:
- image: ubuntu:disco
steps:
- checkout
- run: apt-get update
- run: apt-get install -y build-essential clang cmake libboost-thread1.67-dev libboost-system1.67-dev libboost-filesystem1.67-dev libboost-date-time1.67-dev libboost-atomic1.67-dev libboost-chrono1.67-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
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_DISTRO=disco -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
- run: make -j2
- run: make package
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
- store_artifacts:
path: /root/debs/
build_ubuntu_zesty:
docker:
- image: ubuntu:zesty
@ -115,8 +128,9 @@ workflows:
- build_ubuntu_artful: *workflow_filters
- build_ubuntu_bionic: *workflow_filters
- build_ubuntu_cosmic: *workflow_filters
- build_ubuntu_disco: *workflow_filters
- build_ubuntu_zesty: *workflow_filters
- build_fedora_26: *workflow_filters
- build_fedora_27: *workflow_filters
- build_fedora_28: *workflow_filters
- build_fedora_29: *workflow_filters
- build_fedora_29: *workflow_filters

View File

@ -258,7 +258,7 @@ if (GENERATE_DEB MATCHES "1")
set(DEB_BOOST_VERSION "1.65.1")
set(DEB_MICROHTTPD_VERSION "12")
set(DEB_LIBCURL_VERSION "4")
elseif (DEB_DISTRO MATCHES "cosmic")
elseif (DEB_DISTRO MATCHES "cosmic" OR DEB_DISTRO MATCHES "disco")
set(DEB_BOOST_VERSION "1.67.0")
set(DEB_MICROHTTPD_VERSION "12")
set(DEB_LIBCURL_VERSION "4")