mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fedora builds
This commit is contained in:
parent
df86b96fd1
commit
b3607c5e33
@ -36,11 +36,37 @@ jobs:
|
||||
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
|
||||
- store_artifacts:
|
||||
path: /root/debs/
|
||||
build_fedora_26:
|
||||
docker:
|
||||
- image: fedora:26
|
||||
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
|
||||
- run: dnf install -y gcc-c++ cmake boost-devel libogg-devel libvorbis-devel flac-devel faad2-devel ncurses-devel zlib-devel alsa-lib-devel pulseaudio-libs-devel libcurl-devel libmicrohttpd-devel lame-devel rpm-build rpmdevtools make
|
||||
- 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/
|
||||
build_fedora_27:
|
||||
docker:
|
||||
- image: fedora:27
|
||||
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
|
||||
- run: dnf install -y gcc-c++ cmake boost-devel libogg-devel libvorbis-devel flac-devel faad2-devel ncurses-devel zlib-devel alsa-lib-devel pulseaudio-libs-devel libcurl-devel libmicrohttpd-devel lame-devel rpm-build rpmdevtools make
|
||||
- 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/
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build_and_test:
|
||||
build_and_package:
|
||||
jobs:
|
||||
- build_ubuntu_artful
|
||||
- build_ubuntu_zesty
|
||||
- build_ubuntu_xenial
|
||||
- build_fedora_26
|
||||
- build_fedora_27
|
||||
|
Loading…
Reference in New Issue
Block a user