Skip to content

Commit

Permalink
expand sudos
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-hbrhbr committed Feb 5, 2025
1 parent 5d92885 commit 90bac9b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
- if: "matrix.os == 'ubuntu-20.04'"
name: "Install gcc-10 (for c++20)"
run: |-
sudo bash -c '{
apt-get update;
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y g++-10 gcc-10;
ln --symbolic --force /usr/bin/gcc-10 /usr/bin/cc;
ln --symbolic --force /usr/bin/g++-10 /usr/bin/c++;
ln --symbolic --force /usr/bin/cpp-10 /usr/bin/cpp;
}'
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
g++-10 \
gcc-10
sudo ln --symbolic --force /usr/bin/gcc-10 /usr/bin/cc
sudo ln --symbolic --force /usr/bin/g++-10 /usr/bin/c++
sudo ln --symbolic --force /usr/bin/cpp-10 /usr/bin/cpp
- name: "Log tool versions"
run: |-
Expand Down

0 comments on commit 90bac9b

Please sign in to comment.