Skip to content

Commit

Permalink
Fix failing build on Ubuntu with clang (#9)
Browse files Browse the repository at this point in the history
For some strange reason libstc++ obviously changed over the last months
so that it doesn't include the formatting library anymore. Updating the
runners to 24.04, they now provide libstc++ in version 13 that in turn
supports this feature.
  • Loading branch information
Master92 authored Nov 14, 2024
2 parents d0cffa1 + ffd31f7 commit 22d47b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,39 +29,39 @@ jobs:
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ ubuntu-latest, windows-latest ]
os: [ ubuntu-24.04, windows-latest ]
build_type: [ Release ]
c_compiler: [ gcc, clang, cl ]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
- os: ubuntu-latest
- os: ubuntu-24.04
c_compiler: gcc
cpp_compiler: g++
- os: ubuntu-latest
- os: ubuntu-24.04
c_compiler: clang
cpp_compiler: clang++
exclude:
- os: windows-latest
c_compiler: gcc
- os: windows-latest
c_compiler: clang
- os: ubuntu-latest
- os: ubuntu-24.04
c_compiler: cl

steps:
- uses: actions/checkout@v3

- name: 🔧 Install GCC
uses: egor-tensin/setup-gcc@v1.3
if: matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'gcc'
if: matrix.os == 'ubuntu-24.04' && matrix.c_compiler == 'gcc'
with:
version: 13

- name: 🔧 Install Clang
uses: egor-tensin/setup-clang@v1.4
if: matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'clang'
if: matrix.os == 'ubuntu-24.04' && matrix.c_compiler == 'clang'
with:
version: 16

Expand Down

0 comments on commit 22d47b9

Please sign in to comment.