mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 08:45:00 +01:00
Update Debian CI to Bookworm, Ubuntu CI to Noble (#22493)
* Update Debian CI image to Bookworm * Disable optimizations for files tripping GCC 12 * Try disabling warnings instead of optimizations * Update Ubuntu from jammy (22.04) to noble (24.04), drop i386 Dropping i386 as there are packages missing in upstream repository required for OpenRCT2, such as https://packages.ubuntu.com/noble/libzip-dev * Deprecate GCC older than 12 * Update Debian Bookworm CI configuration * Update remaining jobs from Ubuntu jammy to noble * Update docker images to v16 for libclang-rt-dev
This commit is contained in:
committed by
GitHub
parent
14f92966a6
commit
125ae170b2
@@ -31,6 +31,13 @@ if (ENABLE_SCRIPTING)
|
||||
endif ()
|
||||
|
||||
add_library(${PROJECT_NAME} ${OPENRCT2_CORE_SOURCES} ${OPENRCT2_CORE_MM_SOURCES} ${OPENRCT2_DUKTAPE_SOURCES})
|
||||
if (CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "13")
|
||||
message(WARNING "Buggy GCC 12 detected! Disabling some warnings")
|
||||
set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/localisation/FormatCodes.cpp" PROPERTIES COMPILE_FLAGS "-Wno-restrict")
|
||||
set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/platform/Platform.Posix.cpp" PROPERTIES COMPILE_FLAGS "-Wno-restrict")
|
||||
set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/ride/Ride.cpp" PROPERTIES COMPILE_FLAGS "-Wno-null-dereference")
|
||||
set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/scenario/Scenario.cpp" PROPERTIES COMPILE_FLAGS "-Wno-restrict")
|
||||
endif()
|
||||
if (APPLE)
|
||||
target_link_platform_libraries(${PROJECT_NAME})
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user