mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-26 22:00:08 +00:00
Add CI support for ubuntu-24.04 (#1987)
This commit is contained in:
parent
ab5eb71025
commit
eaf912017f
31
.github/workflows/ci-ubuntu.yml
vendored
31
.github/workflows/ci-ubuntu.yml
vendored
@ -13,8 +13,6 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-20.04, ubuntu-22.04]
|
|
||||||
compiler: [g++-10]
|
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
compiler: clang++-10
|
compiler: clang++-10
|
||||||
@ -22,16 +20,34 @@ jobs:
|
|||||||
compiler: clang++-11
|
compiler: clang++-11
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
compiler: clang++-12
|
compiler: clang++-12
|
||||||
|
- os: ubuntu-20.04
|
||||||
|
compiler: g++-10
|
||||||
|
|
||||||
- os: ubuntu-22.04
|
- os: ubuntu-22.04
|
||||||
compiler: clang++-13
|
compiler: clang++-13
|
||||||
- os: ubuntu-22.04
|
- os: ubuntu-22.04
|
||||||
compiler: clang++-14
|
compiler: clang++-14
|
||||||
- os: ubuntu-22.04
|
- os: ubuntu-22.04
|
||||||
compiler: clang++-15
|
compiler: clang++-15
|
||||||
|
- os: ubuntu-22.04
|
||||||
|
compiler: g++-10
|
||||||
- os: ubuntu-22.04
|
- os: ubuntu-22.04
|
||||||
compiler: g++-11
|
compiler: g++-11
|
||||||
- os: ubuntu-22.04
|
- os: ubuntu-22.04
|
||||||
compiler: g++-12
|
compiler: g++-12
|
||||||
|
|
||||||
|
- os: ubuntu-24.04
|
||||||
|
compiler: clang++-16
|
||||||
|
- os: ubuntu-24.04
|
||||||
|
compiler: clang++-17
|
||||||
|
- os: ubuntu-24.04
|
||||||
|
compiler: clang++-18
|
||||||
|
- os: ubuntu-24.04
|
||||||
|
compiler: g++-12
|
||||||
|
- os: ubuntu-24.04
|
||||||
|
compiler: g++-13
|
||||||
|
- os: ubuntu-24.04
|
||||||
|
compiler: g++-14
|
||||||
|
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
|
|
||||||
@ -55,7 +71,7 @@ jobs:
|
|||||||
for build_type in Debug Release
|
for build_type in Debug Release
|
||||||
do
|
do
|
||||||
echo "================================================================================="
|
echo "================================================================================="
|
||||||
echo "Building C++" $cpp_standard " in " $build_type " mode on " ${{matrix.os}} " with " ${{matrix.compiler}}
|
echo "Building C++"$cpp_standard" in "$build_type" mode on "${{matrix.os}}" with "${{matrix.compiler}}
|
||||||
echo "================================================================================="
|
echo "================================================================================="
|
||||||
cmake -B build/$cpp_standard/$build_type -GNinja \
|
cmake -B build/$cpp_standard/$build_type -GNinja \
|
||||||
-DVULKAN_HPP_SAMPLES_BUILD=ON \
|
-DVULKAN_HPP_SAMPLES_BUILD=ON \
|
||||||
@ -74,14 +90,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Loop over build_types (Debug, Release) with cpp_standard 23 for compilers supporting that
|
- name: Loop over build_types (Debug, Release) with cpp_standard 23 for compilers supporting that
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{matrix.compiler}} != clang++-10 && ${{matrix.compiler}} != clang++-11 && ${{matrix.compiler}} != g++-10 ]]
|
# clang++17 gives in some strange errors in std::tuple!
|
||||||
|
if [[ ${{matrix.compiler}} != clang++-10 && ${{matrix.compiler}} != clang++-11 && ${{matrix.compiler}} != clang++-17 && ${{matrix.compiler}} != g++-10 ]]
|
||||||
then
|
then
|
||||||
cpp_standard=23
|
cpp_standard=23
|
||||||
echo "================================================================================="
|
|
||||||
echo "Building C++" $cpp_standard " in " $build_type " mode on " ${{matrix.os}} " with " ${{matrix.compiler}}
|
|
||||||
echo "================================================================================="
|
|
||||||
for build_type in Debug Release
|
for build_type in Debug Release
|
||||||
do
|
do
|
||||||
|
echo "================================================================================="
|
||||||
|
echo "Building C++"$cpp_standard" in "$build_type" mode on "${{matrix.os}}" with "${{matrix.compiler}}
|
||||||
|
echo "================================================================================="
|
||||||
cmake -B build/$cpp_standard/$build_type -GNinja \
|
cmake -B build/$cpp_standard/$build_type -GNinja \
|
||||||
-DVULKAN_HPP_SAMPLES_BUILD=ON \
|
-DVULKAN_HPP_SAMPLES_BUILD=ON \
|
||||||
-DVULKAN_HPP_SAMPLES_BUILD_ONLY_DYNAMIC=ON \
|
-DVULKAN_HPP_SAMPLES_BUILD_ONLY_DYNAMIC=ON \
|
||||||
|
Loading…
Reference in New Issue
Block a user