Skip to content

Commit 179acc0

Browse files
committed
devops: add repositories for gcc 15
Signed-off-by: Aaron Teo <[email protected]>
1 parent 9517da7 commit 179acc0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,12 @@ jobs:
213213
id: install_gcc
214214
run: |
215215
sudo apt-get update
216-
sudo apt-get install -y --no-install-recommends gcc-15 g++-15
216+
sudo apt-get install -y --no-install-recommends \
217+
software-properties-common
218+
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
219+
sudo apt-get update
220+
sudo apt-get install -y --no-install-recommends \
221+
gcc-15 g++-15
217222
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-15 15
218223
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-15 15
219224

0 commit comments

Comments
 (0)