Skip to content

Commit

Permalink
Enable clang-16 support
Browse files Browse the repository at this point in the history
  • Loading branch information
neatudarius committed Nov 11, 2024
1 parent b0af8f2 commit a21cf9a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- {name: "Ubuntu Clang 19", os: ubuntu-24.04, toolchain: "clang-19", clang_version: 19, installed_clang_version: 17, cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" ", asan_options: "new_delete_type_mismatch=0"}
- {name: "Ubuntu Clang 18", os: ubuntu-24.04, toolchain: "clang-18", clang_version: 18, installed_clang_version: 17, cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
- {name: "Ubuntu Clang 17", os: ubuntu-24.04, toolchain: "clang-17", clang_version: 17, installed_clang_version: 17, cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
- {name: "Ubuntu Clang 16", os: ubuntu-24.04, toolchain: "clang-16", clang_version: 16, installed_clang_version: 17, cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
- {name: "Ubuntu GCC 14", os: ubuntu-24.04, toolchain: "gcc-14", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
- {name: "Ubuntu GCC 13", os: ubuntu-24.04, toolchain: "gcc-13", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
- {name: "Ubuntu GCC 12", os: ubuntu-24.04, toolchain: "gcc-12", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
Expand Down
34 changes: 34 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@
"displayName": "Clang 17",
"description": "Build with Clang 17 compilers",
"toolchainFile": "${sourceDir}/etc/clang-17-toolchain.cmake"
},
{
"name": "clang-16",
"inherits": "common",
"displayName": "Clang 16",
"description": "Build with Clang 16 compilers",
"toolchainFile": "${sourceDir}/etc/clang-16-toolchain.cmake"
}
],
"buildPresets": [
Expand Down Expand Up @@ -119,6 +126,11 @@
"name": "clang-17",
"inherits": "common",
"configurePreset": "clang-17"
},
{
"name": "clang-16",
"inherits": "common",
"configurePreset": "clang-16"
}
],
"testPresets": [
Expand Down Expand Up @@ -173,6 +185,11 @@
"name": "clang-17",
"inherits": "common",
"configurePreset": "clang-17"
},
{
"name": "clang-16",
"inherits": "common",
"configurePreset": "clang-16"
}
],
"workflowPresets": [
Expand Down Expand Up @@ -311,6 +328,23 @@
"name": "clang-17"
}
]
},
{
"name": "clang-16",
"steps": [
{
"type": "configure",
"name": "clang-16"
},
{
"type": "build",
"name": "clang-16"
},
{
"type": "test",
"name": "clang-16"
}
]
}
]
}

0 comments on commit a21cf9a

Please sign in to comment.