From a78c5ca778a038c36990328a63667d5457b71e89 Mon Sep 17 00:00:00 2001 From: glx22 Date: Sun, 2 Feb 2025 05:13:43 +0100 Subject: [PATCH] Fix 3e747397f0: Also upgrade preview workflow --- .github/workflows/preview-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 9cf6e9573c..e6cc74809e 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -34,6 +34,13 @@ jobs: git config --global --add safe.directory ${GITHUB_WORKSPACE} git checkout -b pr${{ github.event.pull_request.number }} + - name: Update to modern GCC + run: | + apt-get update + apt-get install -y gcc-12 g++-12 + update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 + update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100 + - name: Setup cache uses: actions/cache@v4 with: