Skip to content

Commit

Permalink
CI: bump compilers to clang-19 and gcc-14
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Jan 18, 2025
1 parent aa713ff commit 0c313b3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main"
sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y g++-13 g++-11 clang-18 clang-tidy-18
sudo apt-get install -y g++-14 g++-11 clang-19 clang-tidy-19
- uses: ilammy/msvc-dev-cmd@v1
if: matrix.os == 'windows-latest'
- uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -67,7 +67,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y g++-13 lcov
sudo apt-get install -y g++-14 lcov
- name: Configure
run: cmake --preset=ci-coverage
- name: Build
Expand Down
18 changes: 9 additions & 9 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_COMPILER": "clang++-18"
"CMAKE_CXX_COMPILER": "clang++-19"
}
},
{
Expand All @@ -134,7 +134,7 @@
],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_CXX_COMPILER": "clang++-18"
"CMAKE_CXX_COMPILER": "clang++-19"
}
},
{
Expand All @@ -147,11 +147,11 @@
],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CXX_COMPILER": "clang++-18",
"CMAKE_CXX_COMPILER": "clang++-19",
"CMAKE_CXX_FLAGS": "-DSLANG_ASSERT_ENABLED -fsanitize=undefined,address -fno-sanitize-recover=undefined -fno-omit-frame-pointer -fno-common -Wno-deprecated-declarations",
"CMAKE_EXE_LINKER_FLAGS": "-fsanitize=undefined,address -fno-sanitize-recover=undefined",
"CMAKE_SHARED_LINKER_FLAGS": "-fsanitize=undefined,address -fno-sanitize-recover=undefined",
"SLANG_CLANG_TIDY": "clang-tidy-18"
"SLANG_CLANG_TIDY": "clang-tidy-19"
}
},
{
Expand All @@ -163,7 +163,7 @@
],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_COMPILER": "g++-13",
"CMAKE_CXX_COMPILER": "g++-14",
"BUILD_SHARED_LIBS": "ON"
}
},
Expand All @@ -177,7 +177,7 @@
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_FLAGS": "-fno-exceptions -fno-rtti",
"CMAKE_CXX_COMPILER": "g++-13"
"CMAKE_CXX_COMPILER": "g++-14"
}
},
{
Expand All @@ -189,7 +189,7 @@
],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_CXX_COMPILER": "g++-13"
"CMAKE_CXX_COMPILER": "g++-14"
}
},
{
Expand All @@ -212,12 +212,12 @@
],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Coverage",
"CMAKE_CXX_COMPILER": "g++-13",
"CMAKE_CXX_COMPILER": "g++-14",
"CMAKE_CXX_FLAGS_COVERAGE": "-Og -g --coverage -DSLANG_ASSERT_ENABLED=0 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-inline -fno-inline-small-functions -fno-default-inline",
"CMAKE_EXE_LINKER_FLAGS_COVERAGE": "--coverage",
"CMAKE_SHARED_LINKER_FLAGS_COVERAGE": "--coverage",
"SLANG_INCLUDE_COVERAGE": "ON",
"COVERAGE_GCOV_TOOL": "gcov-13"
"COVERAGE_GCOV_TOOL": "gcov-14"
}
},
{
Expand Down

0 comments on commit 0c313b3

Please sign in to comment.