Fedora 29 build (#1)

This commit is contained in:
David Muckle 2018-11-15 01:33:44 -05:00 committed by GitHub
parent 84b138e138
commit 952b9d9a19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,6 +104,20 @@ jobs:
- run: package_cloud push --skip-errors clangen/musikcube/fedora/28 /root/rpms/*.rpm
- store_artifacts:
path: /root/rpms/
build_fedora_29:
docker:
- image: fedora:29
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: dnf install -y ruby ruby-devel && gem install package_cloud -v 0.2.44
- run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/
- run: package_cloud push --skip-errors clangen/musikcube/fedora/29 /root/rpms/*.rpm
- store_artifacts:
path: /root/rpms/
workflow_filters: &workflow_filters
filters:
branches:
@ -121,3 +135,4 @@ workflows:
- build_fedora_26: *workflow_filters
- build_fedora_27: *workflow_filters
- build_fedora_28: *workflow_filters
- build_fedora_29: *workflow_filters