diff --git a/.circleci/config.yml b/.circleci/config.yml index 67e342e2f..943bc1631 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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