Skip to content

Commit 7fd5710

Browse files
committed
Update gcc alternatives
1 parent cda7d7a commit 7fd5710

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/static_analysis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
run: |
1818
sudo apt-get update
1919
sudo apt-get install -y gcc-10 g++-10 make mono-complete
20+
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
21+
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100
22+
update-alternatives --set g++ /usr/bin/g++-10
23+
update-alternatives --set gcc /usr/bin/gcc-10
2024
2125
- name: Prepare C++ compilation env
2226
run: build_tooling/prep_cpp_build.sh

0 commit comments

Comments
 (0)