Skip to content

Commit

Permalink
try update-alternatives to use gcc-10
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewilliamboswell committed Dec 18, 2024
1 parent 760ed12 commit c176d78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ jobs:
- name: Update GCC
run: |
sudo apt-get update
sudo apt remove gcc-9
sudo apt install gcc-10
sudo apt-get install -y gcc-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100
sudo update-alternatives --set gcc /usr/bin/gcc-10
gcc --version
- name: Run all tests
Expand Down

0 comments on commit c176d78

Please sign in to comment.