From d92b81e6e288f4f7f8f6b92f4bf57caaf0c302f7 Mon Sep 17 00:00:00 2001 From: David Muckle Date: Mon, 11 Dec 2017 16:48:17 -0500 Subject: [PATCH] Build and upload packages --- .circleci/config.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 68c9db0da..4dda2ad9c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,17 +7,19 @@ jobs: - checkout - run: apt-get update - run: apt-get install -y build-essential clang cmake libboost-thread1.63-dev libboost-system1.63-dev libboost-filesystem1.63-dev libboost-date-time1.63-dev libboost-atomic1.63-dev libboost-chrono1.63-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev - - run: cmake . - - run: make + - run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_DISTRO=artful -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release . + - run: make && make package + - run: mv *.deb $CIRCLE_ARTIFACTS/ build_ubuntu_zesty: docker: - - image: ubuntu:zesty + - image: ubuntu:zesty steps: - checkout - run: apt-get update - run: apt-get -y install build-essential clang cmake libboost-thread1.61-dev libboost-system1.61-dev libboost-filesystem1.61-dev libboost-date-time1.61-dev libboost-atomic1.61-dev libboost-chrono1.61-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev - - run: cmake . - - run: make + - run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_DISTRO=zesty -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release . + - run: make && make package + - run: mv *.deb $CIRCLE_ARTIFACTS/ workflows: version: 2