mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Add Feodra 34 to config.yml, and conditionalize building with Pipewire
support in the RPM spec.
This commit is contained in:
parent
7ec4377d9b
commit
6c2711bead
@ -62,7 +62,7 @@ jobs:
|
||||
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)'
|
||||
- checkout
|
||||
- run: dnf builddep -y musikcube.spec
|
||||
- run: ENABLE_PIPEWIRE=true 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
|
||||
@ -95,6 +95,19 @@ jobs:
|
||||
- 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)'
|
||||
- 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/
|
||||
workflow_filters: &workflow_filters
|
||||
filters:
|
||||
branches:
|
||||
|
@ -19,7 +19,7 @@ A cross-platform, terminal-based audio engine, library, player and server writte
|
||||
%autosetup -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=Release -DENABLE_PCH=true .
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=Release -DENABLE_PCH=true -DENABLE_PIPEWIRE=$ENABLE_PIPEWIRE .
|
||||
make -j2
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user