Fedora 30 support.

This commit is contained in:
casey langen 2019-05-01 02:41:20 -04:00
parent 57b216d6bc
commit 058fd842b3

View File

@ -115,6 +115,18 @@ jobs:
- run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/ - run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/
- store_artifacts: - store_artifacts:
path: /root/rpms/ path: /root/rpms/
build_fedora_30:
docker:
- image: fedora:30
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/
workflow_filters: &workflow_filters workflow_filters: &workflow_filters
filters: filters:
branches: branches:
@ -134,3 +146,4 @@ workflows:
- build_fedora_27: *workflow_filters - build_fedora_27: *workflow_filters
- build_fedora_28: *workflow_filters - build_fedora_28: *workflow_filters
- build_fedora_29: *workflow_filters - build_fedora_29: *workflow_filters
- build_fedora_30: *workflow_filters