Skip to content

Commit a21cf9a

Browse files
committed
Enable clang-16 support
1 parent b0af8f2 commit a21cf9a

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- {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"}
1919
- {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\" "}
2020
- {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\" "}
21+
- {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\" "}
2122
- {name: "Ubuntu GCC 14", os: ubuntu-24.04, toolchain: "gcc-14", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
2223
- {name: "Ubuntu GCC 13", os: ubuntu-24.04, toolchain: "gcc-13", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
2324
- {name: "Ubuntu GCC 12", os: ubuntu-24.04, toolchain: "gcc-12", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}

CMakePresets.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@
7272
"displayName": "Clang 17",
7373
"description": "Build with Clang 17 compilers",
7474
"toolchainFile": "${sourceDir}/etc/clang-17-toolchain.cmake"
75+
},
76+
{
77+
"name": "clang-16",
78+
"inherits": "common",
79+
"displayName": "Clang 16",
80+
"description": "Build with Clang 16 compilers",
81+
"toolchainFile": "${sourceDir}/etc/clang-16-toolchain.cmake"
7582
}
7683
],
7784
"buildPresets": [
@@ -119,6 +126,11 @@
119126
"name": "clang-17",
120127
"inherits": "common",
121128
"configurePreset": "clang-17"
129+
},
130+
{
131+
"name": "clang-16",
132+
"inherits": "common",
133+
"configurePreset": "clang-16"
122134
}
123135
],
124136
"testPresets": [
@@ -173,6 +185,11 @@
173185
"name": "clang-17",
174186
"inherits": "common",
175187
"configurePreset": "clang-17"
188+
},
189+
{
190+
"name": "clang-16",
191+
"inherits": "common",
192+
"configurePreset": "clang-16"
176193
}
177194
],
178195
"workflowPresets": [
@@ -311,6 +328,23 @@
311328
"name": "clang-17"
312329
}
313330
]
331+
},
332+
{
333+
"name": "clang-16",
334+
"steps": [
335+
{
336+
"type": "configure",
337+
"name": "clang-16"
338+
},
339+
{
340+
"type": "build",
341+
"name": "clang-16"
342+
},
343+
{
344+
"type": "test",
345+
"name": "clang-16"
346+
}
347+
]
314348
}
315349
]
316350
}

0 commit comments

Comments
 (0)