From 3c0ca2a9ad7c881362d3a67ee16a155103282704 Mon Sep 17 00:00:00 2001 From: Eduardo Dantas Date: Wed, 27 Nov 2024 04:46:03 -0300 Subject: [PATCH] fix: build --- .github/workflows/build-ubuntu.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-ubuntu.yml b/.github/workflows/build-ubuntu.yml index 9940bfa682c..692bafc331c 100644 --- a/.github/workflows/build-ubuntu.yml +++ b/.github/workflows/build-ubuntu.yml @@ -55,7 +55,9 @@ jobs: - name: Switch to gcc-13 on Ubuntu 22.04 if: matrix.os == 'ubuntu-22.04' run: | - sudo apt install gcc-13 g++-13 + sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y + sudo apt-get update + sudo apt install gcc-13 g++-13 -y sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 --slave /usr/bin/g++ g++ /usr/bin/g++-13 --slave /usr/bin/gcov gcov /usr/bin/gcov-12 sudo update-alternatives --set gcc /usr/bin/gcc-13