mirror of
https://github.com/CLIUtils/CLI11.git
synced 2026-01-19 04:52:08 +00:00
ci: add CUDA versions (#864)
* update tests * update tested cmake version * try the correct docker tag names * try different order for cuda build * reorder the builds * use an install boost action * install boost through apt
This commit is contained in:
@@ -6,10 +6,10 @@ cmake_minimum_required(VERSION 3.4)
|
||||
# of CMake. For most of the policies, the new version is better (hence the change).
|
||||
# We don't use the 3.4...3.24 syntax because of a bug in an older MSVC's
|
||||
# built-in and modified CMake 3.11
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.24)
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.25)
|
||||
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
|
||||
else()
|
||||
cmake_policy(VERSION 3.24)
|
||||
cmake_policy(VERSION 3.25)
|
||||
endif()
|
||||
|
||||
set(VERSION_REGEX "#define CLI11_VERSION[ \t]+\"(.+)\"")
|
||||
|
||||
Reference in New Issue
Block a user