Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthu3375 authored Jul 7, 2024
1 parent d70a6a7 commit 05d6785
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,20 +205,25 @@ jobs:
run: |
brew install glfw
- name: Remove existing GCC and G++
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get update
sudo apt-get remove --purge -y gcc g++
sudo apt-get autoremove -y
# - name: Remove existing GCC and G++
# if: ${{ runner.os == 'Linux' }}
# run: |
# sudo apt-get update
# sudo apt-get remove --purge -y gcc g++
# sudo apt-get autoremove -y

- name: Setup Linux
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get update
sudo apt install -y gcc-11 g++-11 libglfw3-dev libglfw3
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11.4.0 11
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11.4.0 11
sudo apt install -y libglfw3-dev libglfw3
# - name: Setup Linux
# if: ${{ runner.os == 'Linux' }}
# run: |
# sudo apt-get update
# sudo apt install -y gcc-11 g++-11 libglfw3-dev libglfw3
# sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11.4.0 11
# sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11.4.0 11

- name: Cleanup Conan system packages (they are not properly cached)
run: |
Expand Down

0 comments on commit 05d6785

Please sign in to comment.