Skip to content

Commit

Permalink
add sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
gandalfr-KY committed Dec 7, 2023
1 parent 8f7ba4c commit a15a17f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:

- name: Install gcc-10/g++-10
run: |
apt update && \
apt install -y software-properties-common && \
apt update && \
apt install -y gcc-10 g++-10 && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
sudo apt update && \
sudo apt install -y software-properties-common && \
sudo apt update && \
sudo apt install -y gcc-10 g++-10 && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 && \
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
- name: Setup cmake
uses: lukka/get-cmake@latest
Expand Down

0 comments on commit a15a17f

Please sign in to comment.