mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-28 18:19:42 +01:00
Add Fedora 30 build
This commit is contained in:
parent
33980dac74
commit
4bd2e90355
@ -1,5 +1,34 @@
|
|||||||
version: 2.1
|
version: 2.1
|
||||||
commands:
|
commands:
|
||||||
|
cmake:
|
||||||
|
description: Configure build
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: cmake
|
||||||
|
command: cmake ..
|
||||||
|
working_directory: bin
|
||||||
|
build_source_tarball:
|
||||||
|
description: Build source tarball
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Build source tarball
|
||||||
|
command: ../dist/maketarball.sh
|
||||||
|
working_directory: bin
|
||||||
|
|
||||||
|
build_rpm:
|
||||||
|
description: Build RPM
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Create rpmbuild directory
|
||||||
|
command: mkdir -p ~/rpmbuild/SOURCES
|
||||||
|
- run:
|
||||||
|
name: Move source tarball
|
||||||
|
command: mv clementine-*.tar.xz ~/rpmbuild/SOURCES
|
||||||
|
working_directory: bin
|
||||||
|
- run:
|
||||||
|
name: Build RPM
|
||||||
|
command: rpmbuild -ba ../dist/clementine.spec
|
||||||
|
working_directory: bin
|
||||||
cmake_debian:
|
cmake_debian:
|
||||||
description: Configure build
|
description: Configure build
|
||||||
parameters:
|
parameters:
|
||||||
@ -46,6 +75,25 @@ commands:
|
|||||||
- "*"
|
- "*"
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/artifacts/<< parameters.build >>
|
path: /tmp/artifacts/<< parameters.build >>
|
||||||
|
copy_rpm_artifacts:
|
||||||
|
description: Copy build artifcats
|
||||||
|
parameters:
|
||||||
|
build:
|
||||||
|
type: string
|
||||||
|
default: fedora-29
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Create artifact output directory
|
||||||
|
command: mkdir -p /tmp/artifacts/<< parameters.build >>
|
||||||
|
- run:
|
||||||
|
name: Copy RPM to artifacts directory
|
||||||
|
command: cp ~/rpmbuild/RPMS/*/clementine-*.rpm /tmp/artifacts/<< parameters.build >>
|
||||||
|
- persist_to_workspace:
|
||||||
|
root: /tmp/artifacts/<< parameters.build >>
|
||||||
|
paths:
|
||||||
|
- "*"
|
||||||
|
- store_artifacts:
|
||||||
|
path: /tmp/artifacts/<< parameters.build >>
|
||||||
install_xenial_dependencies:
|
install_xenial_dependencies:
|
||||||
description: Install Xenial dependencies
|
description: Install Xenial dependencies
|
||||||
steps:
|
steps:
|
||||||
@ -176,6 +224,46 @@ commands:
|
|||||||
qt4-dev-tools
|
qt4-dev-tools
|
||||||
ssh
|
ssh
|
||||||
|
|
||||||
|
install_fedora_dependencies:
|
||||||
|
description: Install Fedora Dependencies
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Install Dependencies
|
||||||
|
command: >
|
||||||
|
dnf install --assumeyes
|
||||||
|
@development-tools
|
||||||
|
boost-devel
|
||||||
|
cmake
|
||||||
|
cryptopp-devel
|
||||||
|
desktop-file-utils
|
||||||
|
fftw-devel
|
||||||
|
gcc-c++
|
||||||
|
gettext
|
||||||
|
git
|
||||||
|
glew-devel
|
||||||
|
gstreamer1-devel
|
||||||
|
gstreamer1-plugins-base-devel
|
||||||
|
libcdio-devel
|
||||||
|
libchromaprint-devel
|
||||||
|
libgpod-devel
|
||||||
|
liblastfm-devel
|
||||||
|
libmtp-devel
|
||||||
|
openssh
|
||||||
|
protobuf-compiler
|
||||||
|
protobuf-devel
|
||||||
|
pulseaudio-libs-devel
|
||||||
|
qca-devel
|
||||||
|
qca-ossl
|
||||||
|
qjson-devel
|
||||||
|
qt-devel
|
||||||
|
qtwebkit-devel
|
||||||
|
rpmdevtools
|
||||||
|
sha2-devel
|
||||||
|
sparsehash-devel
|
||||||
|
sqlite-devel
|
||||||
|
taglib-devel
|
||||||
|
tar
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_disco_64:
|
build_disco_64:
|
||||||
docker:
|
docker:
|
||||||
@ -265,77 +353,31 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
- image: fedora:29
|
- image: fedora:29
|
||||||
environment:
|
environment:
|
||||||
RPM_BUILD_NCPUS: 1
|
RPM_BUILD_NCPUS: "1"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- install_fedora_dependencies
|
||||||
name: Install Dependencies
|
|
||||||
command: >
|
|
||||||
dnf install --assumeyes
|
|
||||||
@development-tools
|
|
||||||
boost-devel
|
|
||||||
cmake
|
|
||||||
cryptopp-devel
|
|
||||||
desktop-file-utils
|
|
||||||
fftw-devel
|
|
||||||
gcc-c++
|
|
||||||
gettext
|
|
||||||
git
|
|
||||||
glew-devel
|
|
||||||
gstreamer1-devel
|
|
||||||
gstreamer1-plugins-base-devel
|
|
||||||
libcdio-devel
|
|
||||||
libchromaprint-devel
|
|
||||||
libgpod-devel
|
|
||||||
liblastfm-devel
|
|
||||||
libmtp-devel
|
|
||||||
openssh
|
|
||||||
protobuf-compiler
|
|
||||||
protobuf-devel
|
|
||||||
pulseaudio-libs-devel
|
|
||||||
qca-devel
|
|
||||||
qca-ossl
|
|
||||||
qjson-devel
|
|
||||||
qt-devel
|
|
||||||
qtwebkit-devel
|
|
||||||
rpmdevtools
|
|
||||||
sha2-devel
|
|
||||||
sparsehash-devel
|
|
||||||
sqlite-devel
|
|
||||||
taglib-devel
|
|
||||||
tar
|
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- cmake
|
||||||
name: cmake
|
- build_source_tarball
|
||||||
command: cmake ..
|
- build_rpm
|
||||||
working_directory: bin
|
- copy_rpm_artifacts:
|
||||||
- run:
|
- build: fedora-29
|
||||||
name: Build source tarball
|
|
||||||
command: ../dist/maketarball.sh
|
build_fedora_30_64:
|
||||||
working_directory: bin
|
docker:
|
||||||
- run:
|
- image: fedora:30
|
||||||
name: Create rpmbuild directory
|
environment:
|
||||||
command: mkdir -p ~/rpmbuild/SOURCES
|
RPM_BUILD_NCPUS: "1"
|
||||||
- run:
|
|
||||||
name: Move source tarball
|
steps:
|
||||||
command: mv clementine-*.tar.xz ~/rpmbuild/SOURCES
|
- install_fedora_dependencies
|
||||||
working_directory: bin
|
- checkout
|
||||||
- run:
|
- cmake
|
||||||
name: Build RPM
|
- build_source_tarball
|
||||||
command: rpmbuild -ba ../dist/clementine.spec
|
- build_rpm
|
||||||
working_directory: bin
|
- copy_rpm_artifacts:
|
||||||
- run:
|
- build: fedora-30
|
||||||
name: Create artifact output directory
|
|
||||||
command: mkdir -p /tmp/artifacts/fedora-29
|
|
||||||
- run:
|
|
||||||
name: Copy deb to artifacts directory
|
|
||||||
command: cp ~/rpmbuild/RPMS/*/clementine-*.rpm /tmp/artifacts/fedora-29
|
|
||||||
- persist_to_workspace:
|
|
||||||
root: /tmp/artifacts/fedora-29
|
|
||||||
paths:
|
|
||||||
- "*"
|
|
||||||
- store_artifacts:
|
|
||||||
path: /tmp/artifacts/fedora-29
|
|
||||||
|
|
||||||
build_mac:
|
build_mac:
|
||||||
macos:
|
macos:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user