From 05f0c5f04b96b17c99889810e04123c83a53c285 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 10 Jul 2025 09:56:20 +0200 Subject: [PATCH] build: gcc installation step is now mandatory for all gcc versions --- .github/workflows/ci-conan.yml | 4 ++-- .github/workflows/ci-test-package-cmake.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-conan.yml b/.github/workflows/ci-conan.yml index 186660af..db89c391 100644 --- a/.github/workflows/ci-conan.yml +++ b/.github/workflows/ci-conan.yml @@ -89,8 +89,8 @@ jobs: with: key: ${{ matrix.config.os }}-${{ matrix.formatting }}-${{ matrix.contracts }}-${{ matrix.config.compiler.type }}-${{ matrix.config.lib }}-${{ matrix.build_type }}-${{ matrix.config.compiler.version }}-${{ matrix.std }} max-size: 50M - - name: Install gcc-13 - if: matrix.config.compiler.type == 'GCC' && matrix.config.compiler.version == '13' + - name: Install gcc-${{ matrix.config.compiler.version }} + if: matrix.config.compiler.type == 'GCC' shell: bash run: | sudo apt install -y g++-${{ matrix.config.compiler.version }} diff --git a/.github/workflows/ci-test-package-cmake.yml b/.github/workflows/ci-test-package-cmake.yml index 5367355d..add87947 100644 --- a/.github/workflows/ci-test-package-cmake.yml +++ b/.github/workflows/ci-test-package-cmake.yml @@ -96,8 +96,8 @@ jobs: cmake-${{ matrix.config.os }}-${{ matrix.formatting }}-${{ matrix.contracts }}- cmake-${{ matrix.config.os }}-${{ matrix.formatting }}- cmake-${{ matrix.config.os }}- - - name: Install gcc-13 - if: matrix.config.compiler.type == 'GCC' && matrix.config.compiler.version == '13' + - name: Install gcc-${{ matrix.config.compiler.version }} + if: matrix.config.compiler.type == 'GCC' shell: bash run: | sudo apt install -y g++-${{ matrix.config.compiler.version }}