2017-12-11 21:04:13 +00:00
|
|
|
version: 2.0
|
|
|
|
jobs:
|
2018-12-29 20:38:14 +00:00
|
|
|
build_ubuntu_bionic:
|
2017-12-11 21:04:13 +00:00
|
|
|
docker:
|
2018-12-29 20:38:14 +00:00
|
|
|
- image: ubuntu:bionic
|
2017-12-11 21:04:13 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt-get update
|
2020-05-26 00:46:33 +00:00
|
|
|
- run: DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" apt-get install -y build-essential clang cmake libboost-thread1.65-dev libboost-system1.65-dev libboost-filesystem1.65-dev libboost-date-time1.65-dev libboost-atomic1.65-dev libboost-chrono1.65-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
|
2019-10-29 05:07:40 +00:00
|
|
|
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=ubuntu -DDEB_DISTRO=bionic -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
2018-01-12 05:39:44 +00:00
|
|
|
- run: make -j2
|
|
|
|
- run: make package
|
2017-12-11 22:26:43 +00:00
|
|
|
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
|
2017-12-11 22:16:57 +00:00
|
|
|
- store_artifacts:
|
2017-12-11 22:26:43 +00:00
|
|
|
path: /root/debs/
|
2019-10-27 05:12:21 +00:00
|
|
|
build_ubuntu_eoan:
|
|
|
|
docker:
|
|
|
|
- image: ubuntu:eoan
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt-get update
|
2020-05-26 00:46:33 +00:00
|
|
|
- run: DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" 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 libsystemd-dev
|
2019-10-29 05:07:40 +00:00
|
|
|
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=ubuntu -DDEB_DISTRO=eoan -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
2019-10-27 05:12:21 +00:00
|
|
|
- run: make -j2
|
|
|
|
- run: make package
|
|
|
|
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
|
|
|
|
- store_artifacts:
|
|
|
|
path: /root/debs/
|
2020-04-10 01:39:57 +00:00
|
|
|
build_ubuntu_focal:
|
|
|
|
docker:
|
|
|
|
- image: ubuntu:focal
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt-get update
|
2020-05-26 00:46:33 +00:00
|
|
|
- run: DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" apt-get install -y build-essential clang cmake libboost-thread1.71-dev libboost-system1.71-dev libboost-filesystem1.71-dev libboost-date-time1.71-dev libboost-atomic1.71-dev libboost-chrono1.71-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
|
2020-05-26 01:08:05 +00:00
|
|
|
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=ubuntu -DDEB_DISTRO=focal -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
2020-04-10 01:39:57 +00:00
|
|
|
- run: make -j2
|
|
|
|
- run: make package
|
|
|
|
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
|
|
|
|
- store_artifacts:
|
|
|
|
path: /root/debs/
|
2020-10-23 00:15:24 +00:00
|
|
|
build_ubuntu_groovy:
|
|
|
|
docker:
|
|
|
|
- image: ubuntu:groovy
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt-get update
|
|
|
|
- run: DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" apt-get install -y build-essential clang cmake libboost-thread1.71-dev libboost-system1.71-dev libboost-filesystem1.71-dev libboost-date-time1.71-dev libboost-atomic1.71-dev libboost-chrono1.71-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
|
|
|
|
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=ubuntu -DDEB_DISTRO=groovy -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/
|
2020-06-17 03:11:10 +00:00
|
|
|
build_fedora_31:
|
2019-05-01 06:41:20 +00:00
|
|
|
docker:
|
2020-06-17 03:11:10 +00:00
|
|
|
- image: fedora:31
|
2019-05-01 06:41:20 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm rpm-build rpmdevtools 'dnf-command(builddep)'
|
|
|
|
- run: dnf builddep -y musikcube.spec
|
|
|
|
- run: mkdir -p /root/rpmbuild/SOURCES && spectool -g -R musikcube.spec
|
|
|
|
- run: rpmbuild -ba -vv musikcube.spec
|
|
|
|
- run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/
|
|
|
|
- store_artifacts:
|
|
|
|
path: /root/rpms/
|
2020-06-17 03:11:10 +00:00
|
|
|
build_fedora_32:
|
2020-04-11 18:35:51 +00:00
|
|
|
docker:
|
2020-06-17 03:11:10 +00:00
|
|
|
- image: fedora:32
|
2020-04-11 18:35:51 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm rpm-build rpmdevtools 'dnf-command(builddep)'
|
|
|
|
- run: dnf builddep -y musikcube.spec
|
|
|
|
- run: mkdir -p /root/rpmbuild/SOURCES && spectool -g -R musikcube.spec
|
|
|
|
- run: rpmbuild -ba -vv musikcube.spec
|
|
|
|
- run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/
|
|
|
|
- store_artifacts:
|
|
|
|
path: /root/rpms/
|
2020-10-31 00:21:58 +00:00
|
|
|
build_fedora_33:
|
|
|
|
docker:
|
|
|
|
- image: fedora:33
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm rpm-build rpmdevtools 'dnf-command(builddep)'
|
|
|
|
- run: dnf builddep -y musikcube.spec
|
|
|
|
- run: mkdir -p /root/rpmbuild/SOURCES && spectool -g -R musikcube.spec
|
|
|
|
- run: rpmbuild -ba -vv musikcube.spec
|
|
|
|
- run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/
|
|
|
|
- store_artifacts:
|
|
|
|
path: /root/rpms/
|
2017-12-19 05:43:28 +00:00
|
|
|
workflow_filters: &workflow_filters
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- build
|
|
|
|
|
2017-12-11 21:04:13 +00:00
|
|
|
workflows:
|
|
|
|
version: 2
|
2017-12-12 03:33:35 +00:00
|
|
|
build_and_package:
|
2017-12-11 21:04:13 +00:00
|
|
|
jobs:
|
2018-06-01 05:24:17 +00:00
|
|
|
- build_ubuntu_bionic: *workflow_filters
|
2019-10-27 05:12:21 +00:00
|
|
|
- build_ubuntu_eoan: *workflow_filters
|
2020-04-10 01:39:57 +00:00
|
|
|
- build_ubuntu_focal: *workflow_filters
|
2020-10-23 00:15:24 +00:00
|
|
|
- build_ubuntu_groovy: *workflow_filters
|
2020-04-11 18:35:51 +00:00
|
|
|
- build_fedora_31: *workflow_filters
|
2020-06-17 03:11:10 +00:00
|
|
|
- build_fedora_32: *workflow_filters
|
2020-10-31 00:21:58 +00:00
|
|
|
- build_fedora_33: *workflow_filters
|