Skip to content

Commit

Permalink
fix: install g++-13
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabolol committed May 9, 2024
1 parent 6a9f5c1 commit aa618ca
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ jobs:
sudo apt-get update
sudo apt-get install -y cmake
- name: Install gcc
- name: Install gcc-13 and g++-13
run: |
sudo apt install gcc-10 gcc-10-base gcc-10-doc g++-10
sudo apt install libstdc++-10-dev libstdc++-10-doc
sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update -y
sudo apt-get install gcc-13 g++-13 -y
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 60 --slave /usr/bin/g++ g++ /usr/bin/g++-13
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand Down

0 comments on commit aa618ca

Please sign in to comment.