Skip to content

Commit

Permalink
attempt to fix CI gcc build
Browse files Browse the repository at this point in the history
  • Loading branch information
deqyra committed Dec 11, 2024
1 parent 987ae25 commit d71e1d1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: use gcc-14
if: matrix.configurations.c_compiler == "gcc"
run: |
sudo apt install gcc-14 g++-14
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100 --slave /usr/bin/g++ g++ /usr/bin/g++-14 --slave /usr/bin/gcov gcov /usr/bin/gcov-14
sudo update-alternatives --set gcc /usr/bin/gcc-14
- name: Set reusable strings
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
id: strings
Expand Down

0 comments on commit d71e1d1

Please sign in to comment.