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:
|
|
|
|
- run: apt-get update
|
2021-01-16 08:23:50 +00:00
|
|
|
- run: DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" apt-get install -y git ssh sshpass 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
|
|
|
|
- checkout
|
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
|
2021-01-16 21:41:33 +00:00
|
|
|
- run: ./script/copy-artifacts-to-host.sh /root/project/*.deb
|
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/
|
2020-04-10 01:39:57 +00:00
|
|
|
build_ubuntu_focal:
|
|
|
|
docker:
|
|
|
|
- image: ubuntu:focal
|
|
|
|
steps:
|
|
|
|
- run: apt-get update
|
2021-01-16 08:23:50 +00:00
|
|
|
- run: DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" apt-get install -y git ssh sshpass 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
|
|
|
|
- checkout
|
2021-01-26 03:03:57 +00:00
|
|
|
- run: cmake -DENABLE_PCH=true -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
|
2021-01-16 21:41:33 +00:00
|
|
|
- run: ./script/copy-artifacts-to-host.sh /root/project/*.deb
|
2020-04-10 01:39:57 +00:00
|
|
|
- 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:
|
|
|
|
- run: apt-get update
|
2021-01-16 08:23:50 +00:00
|
|
|
- run: DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" apt-get install -y git ssh sshpass 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
|
|
|
|
- checkout
|
2021-01-26 03:03:57 +00:00
|
|
|
- run: cmake -DENABLE_PCH=true -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=ubuntu -DDEB_DISTRO=groovy -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
2021-03-20 06:28:11 +00:00
|
|
|
- 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/
|
|
|
|
build_ubuntu_hirsute:
|
|
|
|
docker:
|
|
|
|
- image: ubuntu:hirsute
|
|
|
|
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.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 libpipewire-0.3-dev libspa-0.2-dev
|
|
|
|
- checkout
|
2021-04-17 21:30:02 +00:00
|
|
|
- run: cmake -DENABLE_PCH=true -DENABLE_PIPEWIRE=true -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=ubuntu -DDEB_DISTRO=hirsute -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
2020-10-23 00:15:24 +00:00
|
|
|
- run: make -j2
|
|
|
|
- run: make package
|
2021-01-16 21:41:33 +00:00
|
|
|
- run: ./script/copy-artifacts-to-host.sh /root/project/*.deb
|
2020-10-23 00:15:24 +00:00
|
|
|
- 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:
|
2021-01-16 08:23:50 +00:00
|
|
|
- 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 git openssh-clients sshpass rpm-build rpmdevtools 'dnf-command(builddep)'
|
2019-05-01 06:41:20 +00:00
|
|
|
- checkout
|
2021-04-14 05:11:58 +00:00
|
|
|
- run: ENABLE_PIPEWIRE=true dnf builddep -y musikcube.spec
|
2019-05-01 06:41:20 +00:00
|
|
|
- run: mkdir -p /root/rpmbuild/SOURCES && spectool -g -R musikcube.spec
|
2021-02-24 22:33:17 +00:00
|
|
|
- run: ./script/run-rpm-build.sh
|
2021-01-16 21:41:33 +00:00
|
|
|
- run: ./script/copy-artifacts-to-host.sh /root/rpmbuild/RPMS/x86_64/*.rpm
|
2019-05-01 06:41:20 +00:00
|
|
|
- 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:
|
2021-01-16 08:23:50 +00:00
|
|
|
- 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 git openssh-clients sshpass rpm-build rpmdevtools 'dnf-command(builddep)'
|
2020-04-11 18:35:51 +00:00
|
|
|
- checkout
|
|
|
|
- run: dnf builddep -y musikcube.spec
|
|
|
|
- run: mkdir -p /root/rpmbuild/SOURCES && spectool -g -R musikcube.spec
|
2021-02-24 22:33:17 +00:00
|
|
|
- run: ./script/run-rpm-build.sh
|
2021-01-16 21:41:33 +00:00
|
|
|
- run: ./script/copy-artifacts-to-host.sh /root/rpmbuild/RPMS/x86_64/*.rpm
|
2020-04-11 18:35:51 +00:00
|
|
|
- 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:
|
2021-01-16 08:23:50 +00:00
|
|
|
- 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 git openssh-clients sshpass rpm-build rpmdevtools 'dnf-command(builddep)'
|
2021-04-14 05:11:58 +00:00
|
|
|
- checkout
|
|
|
|
- run: dnf builddep -y musikcube.spec
|
|
|
|
- run: mkdir -p /root/rpmbuild/SOURCES && spectool -g -R musikcube.spec
|
|
|
|
- run: ./script/run-rpm-build.sh
|
|
|
|
- run: ./script/copy-artifacts-to-host.sh /root/rpmbuild/RPMS/x86_64/*.rpm
|
|
|
|
- run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/
|
|
|
|
- store_artifacts:
|
|
|
|
path: /root/rpms/
|
|
|
|
build_fedora_34:
|
|
|
|
docker:
|
|
|
|
- image: fedora:34
|
|
|
|
steps:
|
|
|
|
- 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 git openssh-clients sshpass rpm-build rpmdevtools 'dnf-command(builddep)'
|
2020-10-31 00:21:58 +00:00
|
|
|
- checkout
|
|
|
|
- run: dnf builddep -y musikcube.spec
|
|
|
|
- run: mkdir -p /root/rpmbuild/SOURCES && spectool -g -R musikcube.spec
|
2021-02-24 22:33:17 +00:00
|
|
|
- run: ./script/run-rpm-build.sh
|
2021-01-16 21:41:33 +00:00
|
|
|
- run: ./script/copy-artifacts-to-host.sh /root/rpmbuild/RPMS/x86_64/*.rpm
|
2020-10-31 00:21:58 +00:00
|
|
|
- run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/
|
|
|
|
- store_artifacts:
|
|
|
|
path: /root/rpms/
|
2021-04-17 04:56:55 +00:00
|
|
|
build_mint_ulyssa: # based on ubuntu focal
|
|
|
|
docker:
|
|
|
|
- image: linuxmintd/mint20.1-amd64
|
|
|
|
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.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
|
|
|
|
- checkout
|
|
|
|
- run: cmake -DENABLE_PCH=true -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=mint -DDEB_DISTRO=ulyssa -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/
|
2021-04-17 20:20:07 +00:00
|
|
|
build_debian_buster:
|
|
|
|
docker:
|
|
|
|
- image: debian:buster
|
|
|
|
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.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
|
|
|
|
- checkout
|
2021-04-17 21:28:33 +00:00
|
|
|
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=debian -DDEB_DISTRO=buster -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
2021-04-17 20:20:07 +00:00
|
|
|
- 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/
|
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
|
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
|
2021-04-17 04:56:55 +00:00
|
|
|
- build_ubuntu_hirsute: *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
|
2021-04-17 04:56:55 +00:00
|
|
|
- build_fedora_34: *workflow_filters
|
|
|
|
- build_mint_ulyssa: *workflow_filters
|
2021-04-17 20:20:07 +00:00
|
|
|
- build_debian_buster: *workflow_filters
|