CI: Update Fedora
This commit is contained in:
parent
21c4022fca
commit
8f27b6a4c9
|
@ -583,11 +583,11 @@ jobs:
|
|||
run: rpmbuild -ba ../dist/unix/strawberry.spec
|
||||
|
||||
|
||||
build_fedora_34:
|
||||
name: Build Fedora 34
|
||||
build_fedora_35:
|
||||
name: Build Fedora 35
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: fedora:34
|
||||
image: fedora:35
|
||||
env:
|
||||
RPM_BUILD_NCPUS: "2"
|
||||
steps:
|
||||
|
@ -604,6 +604,7 @@ jobs:
|
|||
dnf install --assumeyes
|
||||
@development-tools
|
||||
redhat-lsb-core
|
||||
which
|
||||
git
|
||||
glibc
|
||||
gcc-c++
|
||||
|
@ -662,86 +663,6 @@ jobs:
|
|||
working-directory: build
|
||||
run: rpmbuild -ba ../dist/unix/strawberry.spec
|
||||
|
||||
|
||||
build_fedora_35:
|
||||
name: Build Fedora 35
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: fedora:35
|
||||
env:
|
||||
RPM_BUILD_NCPUS: "2"
|
||||
steps:
|
||||
- uses: actions/checkout@v1.2.0
|
||||
|
||||
- name: Update packages
|
||||
run: yum update --assumeyes
|
||||
|
||||
- name: Upgrade packages
|
||||
run: yum upgrade --assumeyes
|
||||
|
||||
- name: Install Fedora dependencies
|
||||
run: >
|
||||
dnf install --assumeyes
|
||||
@development-tools
|
||||
redhat-lsb-core
|
||||
git
|
||||
glibc
|
||||
gcc-c++
|
||||
rpmdevtools
|
||||
make
|
||||
cmake
|
||||
pkgconfig
|
||||
glib
|
||||
man
|
||||
tar
|
||||
gettext
|
||||
openssh
|
||||
boost-devel
|
||||
dbus-devel
|
||||
protobuf-devel
|
||||
protobuf-compiler
|
||||
sqlite-devel
|
||||
alsa-lib-devel
|
||||
pulseaudio-libs-devel
|
||||
libnotify-devel
|
||||
gnutls-devel
|
||||
qt6-qtbase-devel
|
||||
qt6-qtbase-private-devel
|
||||
qt6-qttools-devel
|
||||
gstreamer1-devel
|
||||
gstreamer1-plugins-base-devel
|
||||
taglib-devel
|
||||
libcdio-devel
|
||||
libgpod-devel
|
||||
libmtp-devel
|
||||
libchromaprint-devel
|
||||
fftw-devel
|
||||
desktop-file-utils
|
||||
libappstream-glib
|
||||
hicolor-icon-theme
|
||||
- name: Add safe git directory
|
||||
shell: bash
|
||||
run: git config --global --add safe.directory /__w/strawberry/strawberry
|
||||
- name: Create Build Environment
|
||||
shell: bash
|
||||
run: cmake -E make_directory build
|
||||
- name: Configure CMake
|
||||
shell: bash
|
||||
working-directory: build
|
||||
run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON
|
||||
- name: Create source tarball
|
||||
working-directory: build
|
||||
run: ../dist/scripts/maketarball.sh
|
||||
- name: Create RPM build sources directories
|
||||
working-directory: build
|
||||
run: mkdir -p ~/rpmbuild/SOURCES /usr/src/packages/SOURCES
|
||||
- name: Copy source tarball
|
||||
working-directory: build
|
||||
run: cp strawberry-*.tar.xz ~/rpmbuild/SOURCES/
|
||||
- name: Build RPM
|
||||
working-directory: build
|
||||
run: rpmbuild -ba ../dist/unix/strawberry.spec
|
||||
|
||||
build_fedora_36:
|
||||
name: Build Fedora 36
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -763,6 +684,7 @@ jobs:
|
|||
dnf install --assumeyes
|
||||
@development-tools
|
||||
redhat-lsb-core
|
||||
which
|
||||
git
|
||||
glibc
|
||||
gcc-c++
|
||||
|
@ -807,7 +729,7 @@ jobs:
|
|||
- name: Configure CMake
|
||||
shell: bash
|
||||
working-directory: build
|
||||
run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON
|
||||
run: cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_WERROR=ON
|
||||
- name: Create source tarball
|
||||
working-directory: build
|
||||
run: ../dist/scripts/maketarball.sh
|
||||
|
@ -821,6 +743,7 @@ jobs:
|
|||
working-directory: build
|
||||
run: rpmbuild -ba ../dist/unix/strawberry.spec
|
||||
|
||||
|
||||
build_openmandriva_cooker:
|
||||
name: Build OpenMandriva Lx 4.2
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -892,7 +815,7 @@ jobs:
|
|||
- name: Configure CMake
|
||||
shell: bash
|
||||
working-directory: build
|
||||
run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON
|
||||
run: cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_WERROR=ON
|
||||
- name: Create source tarball
|
||||
working-directory: build
|
||||
run: ../dist/scripts/maketarball.sh
|
||||
|
|
Loading…
Reference in New Issue