Added Fedora 31 to circleci

This commit is contained in:
casey langen 2020-04-11 11:35:51 -07:00
parent 501a40dbf7
commit 136220454b

View File

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