Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
riebers-m authored Oct 6, 2024
1 parent aafadaf commit f7253d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:
if: matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'gcc'
run: |
g++ --version
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-${{ matrix.gcc_version }}
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.gcc_version }} ${{ matrix.gcc_version }}0
sudo update-alternatives --config gcc
sudo update-alternatives --config g++
sudo apt install gcc-${{ matrix.gcc_version }} g++-${{ matrix.gcc_version }} -y
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.gcc_version }} ${{ matrix.gcc_version }} --slave /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.gcc_version }}
g++ --version
Expand Down

0 comments on commit f7253d5

Please sign in to comment.