From 9122881f745b3bd18a3ad9c9f250f9d9ef849fd9 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 10 Jan 2025 22:17:59 +0100 Subject: [PATCH] CI: Bump GCC on openSUSE Leap --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5f340c4e..b9900880c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,18 +21,18 @@ jobs: steps: - name: Refresh repositories run: zypper -n --gpg-auto-import-keys ref - - name: Upgrade packages + - name: Upgrade packages (Tumbleweed) if: matrix.opensuse_version == 'tumbleweed' run: zypper -n --gpg-auto-import-keys dup - - name: Upgrade packages + - name: Upgrade packages (Leap) if: matrix.opensuse_version != 'tumbleweed' run: zypper -n --gpg-auto-import-keys up - - name: Install gcc + - name: Install gcc (Tumbleweed) if: matrix.opensuse_version == 'tumbleweed' run: zypper -n --gpg-auto-import-keys in gcc gcc-c++ - - name: Install gcc 13 + - name: Install gcc (Leap) 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 run: > zypper -n --gpg-auto-import-keys in @@ -111,8 +111,8 @@ jobs: if: matrix.opensuse_version != 'tumbleweed' env: RPM_BUILD_NCPUS: 4 - CC: gcc-13 - CXX: g++-13 + CC: gcc-14 + CXX: g++-14 working-directory: build run: rpmbuild -ba strawberry.spec - name: Set subdir