mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Add C++23 to the workflow. (#1713)
This commit is contained in:
parent
26664a38a4
commit
2e5e845bb9
2
.github/workflows/ci-macos.yml
vendored
2
.github/workflows/ci-macos.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
compiler:
|
compiler:
|
||||||
- {cxx: "g++-11", c: "clang"}
|
- {cxx: "g++-11", c: "clang"}
|
||||||
- {cxx: "clang++", c: "clang"}
|
- {cxx: "clang++", c: "clang"}
|
||||||
cxx_standard: [11, 14, 17, 20]
|
cxx_standard: [11, 14, 17, 20, 23]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
2
.github/workflows/ci-ubuntu.yml
vendored
2
.github/workflows/ci-ubuntu.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
- {cxx: "g++-11", c: "gcc-11"}
|
- {cxx: "g++-11", c: "gcc-11"}
|
||||||
- {cxx: "clang++-13", c: "clang-13"}
|
- {cxx: "clang++-13", c: "clang-13"}
|
||||||
- {cxx: "clang++-14", c: "clang-14"}
|
- {cxx: "clang++-14", c: "clang-14"}
|
||||||
cxx_standard: [11, 14, 17, 20]
|
cxx_standard: [11, 14, 17, 20, 23]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
2
.github/workflows/ci-windows.yml
vendored
2
.github/workflows/ci-windows.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
os: [windows-latest, windows-2019]
|
os: [windows-latest, windows-2019]
|
||||||
architecture: [x86, x64]
|
architecture: [x86, x64]
|
||||||
build_type: [Debug, Release]
|
build_type: [Debug, Release]
|
||||||
cxx_standard: [11, 14, 17, 20]
|
cxx_standard: [11, 14, 17, 20, 23]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
# define VULKAN_HPP_CPLUSPLUS __cplusplus
|
# define VULKAN_HPP_CPLUSPLUS __cplusplus
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 201703L < VULKAN_HPP_CPLUSPLUS
|
#if 202002L < VULKAN_HPP_CPLUSPLUS
|
||||||
|
# define VULKAN_HPP_CPP_VERSION 23
|
||||||
|
#elif 201703L < VULKAN_HPP_CPLUSPLUS
|
||||||
# define VULKAN_HPP_CPP_VERSION 20
|
# define VULKAN_HPP_CPP_VERSION 20
|
||||||
#elif 201402L < VULKAN_HPP_CPLUSPLUS
|
#elif 201402L < VULKAN_HPP_CPLUSPLUS
|
||||||
# define VULKAN_HPP_CPP_VERSION 17
|
# define VULKAN_HPP_CPP_VERSION 17
|
||||||
|
@ -14,7 +14,9 @@
|
|||||||
# define VULKAN_HPP_CPLUSPLUS __cplusplus
|
# define VULKAN_HPP_CPLUSPLUS __cplusplus
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 201703L < VULKAN_HPP_CPLUSPLUS
|
#if 202002L < VULKAN_HPP_CPLUSPLUS
|
||||||
|
# define VULKAN_HPP_CPP_VERSION 23
|
||||||
|
#elif 201703L < VULKAN_HPP_CPLUSPLUS
|
||||||
# define VULKAN_HPP_CPP_VERSION 20
|
# define VULKAN_HPP_CPP_VERSION 20
|
||||||
#elif 201402L < VULKAN_HPP_CPLUSPLUS
|
#elif 201402L < VULKAN_HPP_CPLUSPLUS
|
||||||
# define VULKAN_HPP_CPP_VERSION 17
|
# define VULKAN_HPP_CPP_VERSION 17
|
||||||
|
Loading…
Reference in New Issue
Block a user