Add LLVM 17 to CI.

This commit is contained in:
Christoffer Lerno
2023-01-29 14:44:03 +01:00
parent 84582f86b6
commit a77e0bf7b3
2 changed files with 2 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
build_type: [Release, Debug] build_type: [Release, Debug]
llvm_version: [13, 15, 16] llvm_version: [13, 15, 16, 17]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View File

@@ -46,7 +46,7 @@ if (NOT WIN32)
find_package(CURL) find_package(CURL)
endif() endif()
if (NOT C3_LLVM_VERSION STREQUAL "auto") if (NOT C3_LLVM_VERSION STREQUAL "auto")
if (${C3_LLVM_VERSION} VERSION_LESS 13 OR ${C3_LLVM_VERSION} VERSION_GREATER 16) if (${C3_LLVM_VERSION} VERSION_LESS 13 OR ${C3_LLVM_VERSION} VERSION_GREATER 17)
message(FATAL_ERROR "LLVM ${C3_LLVM_VERSION} is not supported!") message(FATAL_ERROR "LLVM ${C3_LLVM_VERSION} is not supported!")
endif() endif()
endif() endif()