mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-22 13:40:28 +01:00
CI: Use GCC 13 for Leap
This commit is contained in:
parent
cd20a0679a
commit
a33ee1cda9
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -28,12 +28,15 @@ jobs:
|
|||||||
- name: Upgrade packages
|
- name: Upgrade packages
|
||||||
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
|
||||||
|
if: matrix.opensuse_version != 'tumbleweed'
|
||||||
|
run: zypper -n --gpg-auto-import-keys up
|
||||||
- name: Install gcc
|
- name: Install gcc
|
||||||
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 gcc10
|
- name: Install gcc 13
|
||||||
if: matrix.opensuse_version != 'tumbleweed'
|
if: matrix.opensuse_version != 'tumbleweed'
|
||||||
run: zypper -n --gpg-auto-import-keys in gcc10 gcc10-c++
|
run: zypper -n --gpg-auto-import-keys in gcc13 gcc13-c++
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: >
|
run: >
|
||||||
zypper -n --gpg-auto-import-keys in
|
zypper -n --gpg-auto-import-keys in
|
||||||
@ -139,8 +142,8 @@ jobs:
|
|||||||
if: matrix.opensuse_version != 'tumbleweed'
|
if: matrix.opensuse_version != 'tumbleweed'
|
||||||
working-directory: build
|
working-directory: build
|
||||||
env:
|
env:
|
||||||
CC: gcc-10
|
CC: gcc-13
|
||||||
CXX: g++-10
|
CXX: g++-13
|
||||||
run: rpmbuild -ba ../dist/unix/strawberry.spec
|
run: rpmbuild -ba ../dist/unix/strawberry.spec
|
||||||
- name: Set subdir
|
- name: Set subdir
|
||||||
id: set-subdir
|
id: set-subdir
|
||||||
|
Loading…
Reference in New Issue
Block a user