Skip to content

Commit 2face2e

Browse files
committed
let's give this a try
1 parent 3871759 commit 2face2e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

+5
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ jobs:
4848
with:
4949
submodules: 'recursive'
5050

51+
- name: Set default gcc and g++ versions to latest
52+
run: |
53+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-$(gcc --version | grep ^gcc | sed 's/^.* //') 100
54+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-$(g++ --version | grep ^g++ | sed 's/^.* //') 100
55+
5156
- name: Build
5257
env:
5358
CC: clang

0 commit comments

Comments
 (0)