Skip to content

Commit 3344b47

Browse files
lukewilliamboswellbhansconnect
authored andcommitted
try update-alternatives to use gcc-10
1 parent 00a5158 commit 3344b47

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ jobs:
5151
- name: Update GCC
5252
run: |
5353
sudo apt-get update
54-
sudo apt remove gcc-9
55-
sudo apt install gcc-10
54+
sudo apt-get install -y gcc-10
55+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100
56+
sudo update-alternatives --set gcc /usr/bin/gcc-10
5657
gcc --version
5758
5859
- name: Run all tests

0 commit comments

Comments
 (0)