2017-12-11 21:04:13 +00:00
|
|
|
version: 2.0
|
|
|
|
jobs:
|
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
|
2022-02-16 00:16:37 +00:00
|
|
|
- run: cmake -DENABLE_PCH=true -DGENERATE_DEB=true -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/
|
2021-11-14 21:41:24 +00:00
|
|
|
build_ubuntu_hirsute:
|
2020-10-23 00:15:24 +00:00
|
|
|
docker:
|
2021-11-14 21:41:24 +00:00
|
|
|
- image: ubuntu:hirsute
|
2020-10-23 00:15:24 +00:00
|
|
|
steps:
|
|
|
|
- run: apt-get update
|
2021-11-14 21:41:24 +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 libpipewire-0.3-dev libspa-0.2-dev
|
2021-01-16 08:23:50 +00:00
|
|
|
- checkout
|
2022-02-16 00:16:37 +00:00
|
|
|
- run: cmake -DENABLE_PCH=true -DENABLE_PIPEWIRE=true -DGENERATE_DEB=true -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=ubuntu -DDEB_DISTRO=hirsute -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/
|
2021-11-14 21:41:24 +00:00
|
|
|
build_ubuntu_impish:
|
2021-03-20 06:28:11 +00:00
|
|
|
docker:
|
2021-11-14 21:41:24 +00:00
|
|
|
- image: ubuntu:impish
|
2021-03-20 06:28:11 +00:00
|
|
|
steps:
|
|
|
|
- run: apt-get update
|
2021-11-14 21:41:24 +00:00
|
|
|
- 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 libpipewire-0.3-dev libspa-0.2-dev
|
2021-03-20 06:28:11 +00:00
|
|
|
- checkout
|
2022-02-16 00:16:37 +00:00
|
|
|
- run: cmake -DENABLE_PCH=true -DENABLE_PIPEWIRE=true -DGENERATE_DEB=true -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=ubuntu -DDEB_DISTRO=impish -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/
|
2021-11-14 21:41:24 +00:00
|
|
|
build_fedora_32:
|
2019-05-01 06:41:20 +00:00
|
|
|
docker:
|
2021-11-14 21:41:24 +00:00
|
|
|
- image: fedora:32
|
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-11-14 21:41:24 +00:00
|
|
|
- run: 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/
|
2021-11-14 21:41:24 +00:00
|
|
|
build_fedora_33:
|
2020-04-11 18:35:51 +00:00
|
|
|
docker:
|
2021-11-14 21:41:24 +00:00
|
|
|
- image: fedora:33
|
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/
|
2021-11-14 21:41:24 +00:00
|
|
|
build_fedora_34:
|
2020-10-31 00:21:58 +00:00
|
|
|
docker:
|
2021-11-14 21:41:24 +00:00
|
|
|
- image: fedora:34
|
2020-10-31 00:21:58 +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)'
|
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/
|
2021-11-14 21:41:24 +00:00
|
|
|
build_fedora_35:
|
2021-04-14 05:11:58 +00:00
|
|
|
docker:
|
2021-11-14 21:41:24 +00:00
|
|
|
- image: fedora:35
|
2021-04-14 05:11:58 +00:00
|
|
|
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/
|
2022-02-12 03:21:28 +00:00
|
|
|
build_mint_una: # based on ubuntu focal
|
2021-04-17 04:56:55 +00:00
|
|
|
docker:
|
2022-02-12 03:21:28 +00:00
|
|
|
- image: linuxmintd/mint20.3-amd64
|
2021-04-17 04:56:55 +00:00
|
|
|
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
|
2022-02-16 00:16:37 +00:00
|
|
|
- run: cmake -DENABLE_PCH=true -DGENERATE_DEB=true -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=mint -DDEB_DISTRO=una -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
2021-04-17 04:56:55 +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/
|
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
|
2022-02-16 00:16:37 +00:00
|
|
|
- run: cmake -DGENERATE_DEB=true -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/
|
2021-12-08 14:43:49 +00:00
|
|
|
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
|
2022-02-16 00:16:37 +00:00
|
|
|
- run: cmake -DGENERATE_DEB=true -DDEB_ARCHITECTURE=amd64 -DDEB_PLATFORM=debian -DDEB_DISTRO=bullseye -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
2021-12-08 14:43:49 +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:
|
2020-04-10 01:39:57 +00:00
|
|
|
- build_ubuntu_focal: *workflow_filters
|
2021-04-17 04:56:55 +00:00
|
|
|
- build_ubuntu_hirsute: *workflow_filters
|
2021-11-14 21:41:24 +00:00
|
|
|
- build_ubuntu_impish: *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
|
2021-11-14 21:41:24 +00:00
|
|
|
- build_fedora_35: *workflow_filters
|
2022-02-12 03:21:28 +00:00
|
|
|
- build_mint_una: *workflow_filters
|
2021-04-17 20:20:07 +00:00
|
|
|
- build_debian_buster: *workflow_filters
|
2021-12-08 14:43:49 +00:00
|
|
|
- build_debian_bullseye: *workflow_filters
|