Add Fedora 31 job
This commit is contained in:
parent
6a5cb0712d
commit
d7c1431193
|
@ -2,6 +2,73 @@ name: all
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build_fedora_31:
|
||||||
|
name: Build Fedora 31 RPM
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
container:
|
||||||
|
image: fedora:31
|
||||||
|
env:
|
||||||
|
RPM_BUILD_NCPUS: "2"
|
||||||
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
run: >
|
||||||
|
dnf install --assumeyes
|
||||||
|
@development-tools
|
||||||
|
alsa-lib-devel
|
||||||
|
boost-devel
|
||||||
|
cmake
|
||||||
|
cryptopp-devel
|
||||||
|
dbus-devel
|
||||||
|
desktop-file-utils
|
||||||
|
fftw-devel
|
||||||
|
gcc-c++
|
||||||
|
gettext
|
||||||
|
git
|
||||||
|
glew-devel
|
||||||
|
gstreamer1-devel
|
||||||
|
gstreamer1-plugins-base-devel
|
||||||
|
hicolor-icon-theme
|
||||||
|
libappstream-glib
|
||||||
|
libcdio-devel
|
||||||
|
libchromaprint-devel
|
||||||
|
libgpod-devel
|
||||||
|
liblastfm-qt5-devel
|
||||||
|
libmtp-devel
|
||||||
|
libnotify-devel
|
||||||
|
openssh
|
||||||
|
pkgconfig
|
||||||
|
protobuf-compiler
|
||||||
|
protobuf-devel
|
||||||
|
pulseaudio-libs-devel
|
||||||
|
qca-qt5-devel
|
||||||
|
qca-qt5-ossl
|
||||||
|
qt5-devel
|
||||||
|
rpmdevtools
|
||||||
|
sha2-devel
|
||||||
|
sparsehash-devel
|
||||||
|
sqlite-devel
|
||||||
|
taglib-devel
|
||||||
|
tar
|
||||||
|
- uses: actions/checkout@v1.2.0
|
||||||
|
- name: cmake
|
||||||
|
working-directory: bin
|
||||||
|
run: cmake ..
|
||||||
|
- name: Build source tarball
|
||||||
|
working-directory: bin
|
||||||
|
run: ../dist/maketarball.sh
|
||||||
|
- name: Create rpmbuild directory
|
||||||
|
run: mkdir -p ~/rpmbuild/SOURCES
|
||||||
|
- name: Move source tarball
|
||||||
|
working-directory: bin
|
||||||
|
run: mv clementine-*.tar.xz ~/rpmbuild/SOURCES
|
||||||
|
- name: Build RPM
|
||||||
|
working-directory: bin
|
||||||
|
run: rpmbuild -ba ../dist/clementine.spec
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: release_fedora_31
|
||||||
|
path: ~/rpmbuild/RPMS/*/clementine-*.rpm
|
||||||
|
|
||||||
build_mingw:
|
build_mingw:
|
||||||
name: Build Windows Installer
|
name: Build Windows Installer
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
@ -12,7 +79,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Fix liblastfm includes
|
- name: Fix liblastfm includes
|
||||||
run: ln -s /target/include/lastfm /target/include/lastfm5
|
run: ln -s /target/include/lastfm /target/include/lastfm5
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v1.2.0
|
||||||
- name: cmake
|
- name: cmake
|
||||||
working-directory: bin
|
working-directory: bin
|
||||||
run: >
|
run: >
|
||||||
|
@ -231,7 +298,7 @@ jobs:
|
||||||
qttools5-dev-tools
|
qttools5-dev-tools
|
||||||
qttools5-dev
|
qttools5-dev
|
||||||
ssh
|
ssh
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v1.2.0
|
||||||
- name: cmake
|
- name: cmake
|
||||||
working-directory: bin
|
working-directory: bin
|
||||||
run: >
|
run: >
|
||||||
|
@ -278,7 +345,7 @@ jobs:
|
||||||
run: brew install https://raw.githubusercontent.com/tomahawk-player/homebrew-tomahawkqt5/master/liblastfm.rb
|
run: brew install https://raw.githubusercontent.com/tomahawk-player/homebrew-tomahawkqt5/master/liblastfm.rb
|
||||||
- name: Fix liblastfm includes
|
- name: Fix liblastfm includes
|
||||||
run: ln -s /usr/local/include/lastfm /usr/local/include/lastfm5
|
run: ln -s /usr/local/include/lastfm /usr/local/include/lastfm5
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v1.2.0
|
||||||
- name: cmake
|
- name: cmake
|
||||||
env:
|
env:
|
||||||
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig
|
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig
|
||||||
|
@ -308,4 +375,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: release_mac
|
name: release_mac
|
||||||
path: bin/clementine-*.dmg
|
path: bin/clementine-*.dmg
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue