mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-10-30 20:22:04 +00:00 
			
		
		
		
	update presets
This commit is contained in:
		| @@ -72,7 +72,7 @@ if(UNIX) | ||||
|  | ||||
| 	# For all except Clang and Apple Clang | ||||
| 	if(NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||||
| 		add_compile_options("-static-libgcc" "-lstdc++fs") | ||||
| 		add_compile_options("-static-libgcc" "-lstdc++fs" "-Wno-error=implicit-function-declaration" "-Wno-error=int-conversion") | ||||
| 	endif() | ||||
|  | ||||
| 	if(${DYNAMIC} AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") | ||||
|   | ||||
| @@ -84,9 +84,7 @@ | ||||
| 			"displayName": "EXPERIMENTAL - [Multi] Windows (MSVC - Clang)", | ||||
| 			"description": "Create a build using the Clang toolchain for MSVC", | ||||
| 			"binaryDir": "${sourceDir}/build/msvc-clang", | ||||
| 			"cacheVariables": { | ||||
| 				"CMAKE_GENERATOR_TOOLSET": "ClangCL" | ||||
| 			} | ||||
| 			"toolset": "ClangCL" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "linux-config", | ||||
| @@ -306,125 +304,149 @@ | ||||
| 			"configuration": "Release" | ||||
| 		} | ||||
| 	], | ||||
| 	"testPresets": [ | ||||
| 		{ | ||||
| 			"name": "default", | ||||
| 			"configurePreset": "default", | ||||
| 			"execution": { | ||||
| 				"jobs": 2 | ||||
| 			}, | ||||
| 			"output": { | ||||
| 				"outputOnFailure": true | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "windows-msvc-test", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "windows-msvc", | ||||
| 			"hidden": true, | ||||
| 			"filter": { | ||||
| 				"exclude": { | ||||
| 					"name": "((example)|(minigzip))+" | ||||
| 				} | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "windows-msvc-debug", | ||||
| 			"inherits": "windows-msvc-test", | ||||
| 			"configurePreset": "windows-msvc", | ||||
| 			"displayName": "[Debug] Windows (MSVC)", | ||||
| 			"description": "Runs all tests on a Windows configuration", | ||||
| 			"configuration": "Debug" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "windows-msvc-relwithdebinfo", | ||||
| 			"inherits": "windows-msvc-test", | ||||
| 			"configurePreset": "windows-msvc", | ||||
| 			"displayName": "[RelWithDebInfo] Windows (MSVC)", | ||||
| 			"description": "Runs all tests on a Windows configuration", | ||||
| 			"configuration": "RelWithDebInfo" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "windows-msvc-release", | ||||
| 			"inherits": "windows-msvc-test", | ||||
| 			"configurePreset": "windows-msvc", | ||||
| 			"displayName": "[Release] Windows (MSVC)", | ||||
| 			"description": "Runs all tests on a Windows configuration", | ||||
| 			"configuration": "Release" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "linux-clang-debug", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "linux-clang-debug", | ||||
| 			"displayName": "EXPERIMENTAL - [Debug] Linux (Clang)", | ||||
| 			"description": "Runs all tests on a Linux Clang configuration", | ||||
| 			"configuration": "Release" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "linux-clang-relwithdebinfo", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "linux-clang-relwithdebinfo", | ||||
| 			"displayName": "EXPERIMENTAL - [RelWithDebInfo] Linux (Clang)", | ||||
| 			"description": "Runs all tests on a Linux Clang configuration", | ||||
| 			"configuration": "RelWithDebInfo" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "linux-clang-release", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "linux-clang-release", | ||||
| 			"displayName": "EXPERIMENTAL - [Release] Linux (Clang)", | ||||
| 			"description": "Runs all tests on a Linux Clang configuration", | ||||
| 			"configuration": "Release" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "linux-gnu-debug", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "linux-gnu-debug", | ||||
| 			"displayName": "[Debug] Linux (GNU)", | ||||
| 			"description": "Runs all tests on a Linux GNU configuration", | ||||
| 			"configuration": "Release" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "linux-gnu-relwithdebinfo", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "linux-gnu-relwithdebinfo", | ||||
| 			"displayName": "[RelWithDebInfo] Linux (GNU)", | ||||
| 			"description": "Runs all tests on a Linux GNU configuration", | ||||
| 			"configuration": "RelWithDebInfo" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "linux-gnu-release", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "linux-gnu-release", | ||||
| 			"displayName": "[Release] Linux (GNU)", | ||||
| 			"description": "Runs all tests on a Linux GNU configuration", | ||||
| 			"configuration": "Release" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "macos-debug", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "macos", | ||||
| 			"displayName": "[Debug] MacOS", | ||||
| 			"description": "Runs all tests on a MacOS configuration", | ||||
| 			"configuration": "Debug" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "macos-relwithdebinfo", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "macos", | ||||
| 			"displayName": "[RelWithDebInfo] MacOS", | ||||
| 			"description": "Runs all tests on a MacOS configuration", | ||||
| 			"configuration": "RelWithDebInfo" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "macos-release", | ||||
| 			"inherits": "default", | ||||
| 			"configurePreset": "macos", | ||||
| 			"displayName": "[Release] MacOS", | ||||
| 			"description": "Runs all tests on a MacOS configuration", | ||||
| 			"configuration": "Release" | ||||
|   "testPresets": [ | ||||
| 	{ | ||||
| 	  "name": "default", | ||||
| 	  "configurePreset": "default", | ||||
| 	  "execution": { | ||||
| 		"jobs": 2 | ||||
| 	  }, | ||||
| 	  "output": { | ||||
| 		"outputOnFailure": true | ||||
| 	  } | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "windows-msvc-test", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "windows-msvc", | ||||
| 	  "hidden": true, | ||||
| 	  "filter": { | ||||
| 		"exclude": { | ||||
| 		  "name": "((example)|(minigzip))+" | ||||
| 		} | ||||
| 	], | ||||
| 	  } | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "windows-msvc-debug", | ||||
| 	  "inherits": "windows-msvc-test", | ||||
| 	  "configurePreset": "windows-msvc", | ||||
| 	  "displayName": "[Debug] Windows (MSVC)", | ||||
| 	  "description": "Runs all tests on a Windows configuration", | ||||
| 	  "configuration": "Debug" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "windows-msvc-relwithdebinfo", | ||||
| 	  "inherits": "windows-msvc-test", | ||||
| 	  "configurePreset": "windows-msvc", | ||||
| 	  "displayName": "[RelWithDebInfo] Windows (MSVC)", | ||||
| 	  "description": "Runs all tests on a Windows configuration", | ||||
| 	  "configuration": "RelWithDebInfo" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "windows-msvc-release", | ||||
| 	  "inherits": "windows-msvc-test", | ||||
| 	  "configurePreset": "windows-msvc", | ||||
| 	  "displayName": "[Release] Windows (MSVC)", | ||||
| 	  "description": "Runs all tests on a Windows configuration", | ||||
| 	  "configuration": "Release" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "windows-msvc-clang-debug", | ||||
| 	  "inherits": "windows-msvc-test", | ||||
| 	  "configurePreset": "windows-msvc-clang", | ||||
| 	  "displayName": "EXPERIMENTAL - [Debug] Windows (MSVC - Clang)", | ||||
| 	  "description": "Runs all tests on a Windows Clang configuration", | ||||
| 	  "configuration": "Debug" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "windows-msvc-clang-relwithdebinfo", | ||||
| 	  "inherits": "windows-msvc-test", | ||||
| 	  "configurePreset": "windows-msvc-clang", | ||||
| 	  "displayName": "EXPERIMENTAL - [RelWithDebInfo] Windows (MSVC - Clang)", | ||||
| 	  "description": "Runs all tests on a Windows  Clang configuration", | ||||
| 	  "configuration": "RelWithDebInfo" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "windows-msvc-clang-release", | ||||
| 	  "inherits": "windows-msvc-test", | ||||
| 	  "configurePreset": "windows-msvc-clang", | ||||
| 	  "displayName": "EXPERIMENTAL - [Release] Windows (MSVC  - Clang)", | ||||
| 	  "description": "Runs all tests on a Windows Clang configuration", | ||||
| 	  "configuration": "Release" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "linux-clang-debug", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "linux-clang-debug", | ||||
| 	  "displayName": "EXPERIMENTAL - [Debug] Linux (Clang)", | ||||
| 	  "description": "Runs all tests on a Linux Clang configuration", | ||||
| 	  "configuration": "Release" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "linux-clang-relwithdebinfo", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "linux-clang-relwithdebinfo", | ||||
| 	  "displayName": "EXPERIMENTAL - [RelWithDebInfo] Linux (Clang)", | ||||
| 	  "description": "Runs all tests on a Linux Clang configuration", | ||||
| 	  "configuration": "RelWithDebInfo" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "linux-clang-release", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "linux-clang-release", | ||||
| 	  "displayName": "EXPERIMENTAL - [Release] Linux (Clang)", | ||||
| 	  "description": "Runs all tests on a Linux Clang configuration", | ||||
| 	  "configuration": "Release" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "linux-gnu-debug", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "linux-gnu-debug", | ||||
| 	  "displayName": "[Debug] Linux (GNU)", | ||||
| 	  "description": "Runs all tests on a Linux GNU configuration", | ||||
| 	  "configuration": "Release" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "linux-gnu-relwithdebinfo", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "linux-gnu-relwithdebinfo", | ||||
| 	  "displayName": "[RelWithDebInfo] Linux (GNU)", | ||||
| 	  "description": "Runs all tests on a Linux GNU configuration", | ||||
| 	  "configuration": "RelWithDebInfo" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "linux-gnu-release", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "linux-gnu-release", | ||||
| 	  "displayName": "[Release] Linux (GNU)", | ||||
| 	  "description": "Runs all tests on a Linux GNU configuration", | ||||
| 	  "configuration": "Release" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "macos-debug", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "macos", | ||||
| 	  "displayName": "[Debug] MacOS", | ||||
| 	  "description": "Runs all tests on a MacOS configuration", | ||||
| 	  "configuration": "Debug" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "macos-relwithdebinfo", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "macos", | ||||
| 	  "displayName": "[RelWithDebInfo] MacOS", | ||||
| 	  "description": "Runs all tests on a MacOS configuration", | ||||
| 	  "configuration": "RelWithDebInfo" | ||||
| 	}, | ||||
| 	{ | ||||
| 	  "name": "macos-release", | ||||
| 	  "inherits": "default", | ||||
| 	  "configurePreset": "macos", | ||||
| 	  "displayName": "[Release] MacOS", | ||||
| 	  "description": "Runs all tests on a MacOS configuration", | ||||
| 	  "configuration": "Release" | ||||
| 	} | ||||
|   ], | ||||
| 	"workflowPresets": [ | ||||
| 		{ | ||||
| 			"name": "default", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jadebenn
					jadebenn