Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 86 additions & 9 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ jobs:
needs:
- build_bullseye_64
- build_bookworm_64
- build_fedora_39
- build_fedora_40
- build_fedora_41
- build_fedora_42
- build_focal_64
- build_jammy_64
- build_noble_64
Expand Down Expand Up @@ -201,11 +202,11 @@ jobs:
name: release_source
path: bin/clementine-*.tar.xz

build_fedora_39:
name: Build Fedora 39 RPM
build_fedora_40:
name: Build Fedora 40 RPM
runs-on: ubuntu-24.04
container:
image: fedora:39
image: fedora:40
env:
RPM_BUILD_NCPUS: "2"
steps:
Expand Down Expand Up @@ -274,14 +275,14 @@ jobs:
run: rpmbuild -ba ../dist/clementine.spec
- uses: actions/upload-artifact@v4
with:
name: release_fedora_39
name: release_fedora_40
path: ~/rpmbuild/RPMS/*/clementine-*.rpm

build_fedora_40:
name: Build Fedora 40 RPM
build_fedora_41:
name: Build Fedora 41 RPM
runs-on: ubuntu-24.04
container:
image: fedora:40
image: fedora:41
env:
RPM_BUILD_NCPUS: "2"
steps:
Expand Down Expand Up @@ -350,7 +351,83 @@ jobs:
run: rpmbuild -ba ../dist/clementine.spec
- uses: actions/upload-artifact@v4
with:
name: release_fedora_40
name: release_fedora_41
path: ~/rpmbuild/RPMS/*/clementine-*.rpm

build_fedora_42:
name: Build Fedora 42 RPM
runs-on: ubuntu-24.04
container:
image: fedora:42
env:
RPM_BUILD_NCPUS: "2"
steps:
- name: Install dependencies
run: >
dnf install --assumeyes
@development-tools
alsa-lib-devel
boost-devel
cmake
cryptopp
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-linguist
qt5-qtbase-devel
qt5-qtx11extras-devel
qt5-rpm-macros
qtsingleapplication-qt5-devel
qtsinglecoreapplication-qt5-devel
rpmdevtools
sparsehash-devel
sqlite-devel
taglib-devel
tar
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
- name: git hackery
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: cmake
working-directory: bin
run: cmake -DUSE_SYSTEM_QTSINGLEAPPLICATION=On ..
- 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@v4
with:
name: release_fedora_42
path: ~/rpmbuild/RPMS/*/clementine-*.rpm

build_mingw:
Expand Down
7 changes: 6 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -Wall -Wno-sign-compare -Wno-deprecated-declarations -Wno-unused-local-typedefs -Wno-unused-private-field -Wno-unknown-warning-option -Wno-maybe-uninitialized")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -Wall -Wno-sign-compare -Wno-deprecated-declarations -Wno-unused-local-typedefs -Wno-maybe-uninitialized")

if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# using regular Clang or AppleClang
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-private-field -Wno-unknown-warning-option")
endif()

option(BUILD_WERROR "Build with -Werror" ON)

Expand Down