mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-22 05:38:36 +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
|
||||
if: matrix.opensuse_version == 'tumbleweed'
|
||||
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
|
||||
if: matrix.opensuse_version == 'tumbleweed'
|
||||
run: zypper -n --gpg-auto-import-keys in gcc gcc-c++
|
||||
- name: Install gcc10
|
||||
- name: Install gcc 13
|
||||
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
|
||||
run: >
|
||||
zypper -n --gpg-auto-import-keys in
|
||||
@ -139,8 +142,8 @@ jobs:
|
||||
if: matrix.opensuse_version != 'tumbleweed'
|
||||
working-directory: build
|
||||
env:
|
||||
CC: gcc-10
|
||||
CXX: g++-10
|
||||
CC: gcc-13
|
||||
CXX: g++-13
|
||||
run: rpmbuild -ba ../dist/unix/strawberry.spec
|
||||
- name: Set subdir
|
||||
id: set-subdir
|
||||
|
Loading…
Reference in New Issue
Block a user