1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-30 17:14:58 +01:00

CI: Bump GCC on openSUSE Leap

This commit is contained in:
Jonas Kvinge 2025-01-10 22:17:59 +01:00
parent 9c36d7fd43
commit 9122881f74

View File

@ -21,18 +21,18 @@ jobs:
steps: steps:
- name: Refresh repositories - name: Refresh repositories
run: zypper -n --gpg-auto-import-keys ref run: zypper -n --gpg-auto-import-keys ref
- name: Upgrade packages - name: Upgrade packages (Tumbleweed)
if: matrix.opensuse_version == 'tumbleweed' if: matrix.opensuse_version == 'tumbleweed'
run: zypper -n --gpg-auto-import-keys dup run: zypper -n --gpg-auto-import-keys dup
- name: Upgrade packages - name: Upgrade packages (Leap)
if: matrix.opensuse_version != 'tumbleweed' if: matrix.opensuse_version != 'tumbleweed'
run: zypper -n --gpg-auto-import-keys up run: zypper -n --gpg-auto-import-keys up
- name: Install gcc - name: Install gcc (Tumbleweed)
if: matrix.opensuse_version == 'tumbleweed' if: matrix.opensuse_version == 'tumbleweed'
run: zypper -n --gpg-auto-import-keys in gcc gcc-c++ run: zypper -n --gpg-auto-import-keys in gcc gcc-c++
- name: Install gcc 13 - name: Install gcc (Leap)
if: matrix.opensuse_version != 'tumbleweed' if: matrix.opensuse_version != 'tumbleweed'
run: zypper -n --gpg-auto-import-keys in gcc13 gcc13-c++ run: zypper -n --gpg-auto-import-keys in gcc14 gcc14-c++
- name: Install packages - name: Install packages
run: > run: >
zypper -n --gpg-auto-import-keys in zypper -n --gpg-auto-import-keys in
@ -111,8 +111,8 @@ jobs:
if: matrix.opensuse_version != 'tumbleweed' if: matrix.opensuse_version != 'tumbleweed'
env: env:
RPM_BUILD_NCPUS: 4 RPM_BUILD_NCPUS: 4
CC: gcc-13 CC: gcc-14
CXX: g++-13 CXX: g++-14
working-directory: build working-directory: build
run: rpmbuild -ba strawberry.spec run: rpmbuild -ba strawberry.spec
- name: Set subdir - name: Set subdir