From 615d11da16fd233041e99938651fcd239e006c21 Mon Sep 17 00:00:00 2001 From: Johannes Unterguggenberger Date: Fri, 1 Dec 2023 11:23:04 +0100 Subject: [PATCH] (hopefully) installing GCC-13 I have no idea what I'm doing --- .github/workflows/cross-platform-check.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cross-platform-check.yml b/.github/workflows/cross-platform-check.yml index 1d260b2d..2b20ce09 100644 --- a/.github/workflows/cross-platform-check.yml +++ b/.github/workflows/cross-platform-check.yml @@ -30,8 +30,8 @@ jobs: #} - { name: "linux: gcc", - cc: "gcc-10", - cxx: "g++-10" + cc: "gcc-13", + cxx: "g++-13" } # note: if a specific vulkan version (e.g. 1.1.x, or < 1.2.135) needs testing, you can add it here: # (not that ubuntu-latest (20.04) only supports >= v1.2.148 via apt) @@ -56,13 +56,18 @@ jobs: sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-${{ matrix.vulkan-sdk }}-focal.list https://packages.lunarg.com/vulkan/${{ matrix.vulkan-sdk }}/lunarg-vulkan-${{ matrix.vulkan-sdk }}-focal.list fi + # for GCC-13 + sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa + # Update package lists sudo apt-get update -qq # Install dependencies sudo apt-get install -y \ vulkan-sdk \ libassimp-dev \ - xorg-dev + xorg-dev \ + g++-13 \ + gcc-13 # clang does not yet (<= 12) support "Down with typename" (P0634R3), which is used in libstdc++ >= 11 in the ranges-header if [ "${{ matrix.config.cc }}" = "clang" ]; then