Skip to content

Commit

Permalink
use a modern gcc on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
beardypig committed Oct 19, 2024
1 parent d312f3f commit df44b7c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true

- name: switch to gcc-12 on linux
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install gcc-12 g++-112
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 --slave /usr/bin/g++ g++ /usr/bin/g++-12 --slave /usr/bin/gcov gcov /usr/bin/gcov-12
sudo update-alternatives --set gcc /usr/bin/gcc-12
- uses: lukka/get-cmake@latest

Expand Down

0 comments on commit df44b7c

Please sign in to comment.