From 45e57ac26399cba68c07c6bbf963448a81f48a69 Mon Sep 17 00:00:00 2001 From: Simon Gene Gottlieb Date: Thu, 11 May 2023 16:18:24 +0200 Subject: [PATCH] feat: upgrade from gcc10 to gcc13 --- .github/workflows/ci_linux.yml | 18 +++++++++++------- .github/workflows/ci_macos.yml | 12 ++++++------ 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci_linux.yml b/.github/workflows/ci_linux.yml index 10b5110..f55933c 100644 --- a/.github/workflows/ci_linux.yml +++ b/.github/workflows/ci_linux.yml @@ -33,25 +33,29 @@ jobs: cxx: "g++-12" cc: "gcc-12" cxx_flags: "-std=c++20" + pkg: "g++-12" build: coverage build_type: Coverage + - name: "gcc13" + cxx: "g++" + cc: "gcc" + cxx_flags: "-std=c++20" + pkg: "g++-13" + build_type: Release + - name: "gcc12" cxx: "g++-12" cc: "gcc-12" cxx_flags: "-std=c++20" + pkg: "g++-12" build_type: Release - name: "gcc11" cxx: "g++-11" cc: "gcc-11" cxx_flags: "-std=c++20" - build_type: Release - - - name: "gcc10" - cxx: "g++-10" - cc: "gcc-10" - cxx_flags: "-std=c++20" + pkg: "g++-11" build_type: Release steps: @@ -72,7 +76,7 @@ jobs: run: sudo apt-get install --yes ccache - name: Install compiler ${{ matrix.cxx }} - run: sudo apt-get install --yes ${{ matrix.cxx }} + run: sudo apt-get install --yes ${{ matrix.pkg }} - name: Install lcov if: matrix.build == 'coverage' diff --git a/.github/workflows/ci_macos.yml b/.github/workflows/ci_macos.yml index 45feef7..0048c8d 100644 --- a/.github/workflows/ci_macos.yml +++ b/.github/workflows/ci_macos.yml @@ -29,6 +29,12 @@ jobs: fail-fast: true matrix: include: + - name: "gcc13" + cxx: "g++-13" + cc: "gcc-13" + cxx_flags: "-std=c++20" + build_type: Release + - name: "gcc12" cxx: "g++-12" cc: "gcc-12" @@ -41,12 +47,6 @@ jobs: cxx_flags: "-std=c++20" build_type: Release - - name: "gcc10" - cxx: "g++-10" - cc: "gcc-10" - cxx_flags: "-std=c++20" - build_type: Release - steps: - name: Checkout uses: actions/checkout@v3