try adding build types back to mac

This commit is contained in:
jadebenn 2024-04-03 20:13:37 -05:00
parent 005d439a4a
commit a3d70197f2
3 changed files with 14 additions and 6 deletions

View File

@ -2,9 +2,9 @@ name: CI
on: on:
push: push:
branches: [ main, MSVCCompilerFlags ] branches: [ main ]
pull_request: pull_request:
branches: [ main, MSVCCompilerFlags ] branches: [ main ]
jobs: jobs:
build-and-test: build-and-test:

View File

@ -74,7 +74,7 @@ if(UNIX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -fPIC") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -fPIC")
elseif(MSVC) elseif(MSVC)
# Skip warning for invalid conversion from size_t to uint32_t for all targets below for now # Skip warning for invalid conversion from size_t to uint32_t for all targets below for now
add_compile_options ("/wd4267" "/utf-8") add_compile_options("/wd4267" "/utf-8")
elseif(WIN32) elseif(WIN32)
add_compile_definitions(_CRT_SECURE_NO_WARNINGS) add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
endif() endif()

View File

@ -37,13 +37,19 @@
"name": "ci-macos-13", "name": "ci-macos-13",
"displayName": "CI configure step for MacOS", "displayName": "CI configure step for MacOS",
"description": "Same as default, Used in GitHub actions workflow", "description": "Same as default, Used in GitHub actions workflow",
"inherits": "default" "inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}, },
{ {
"name": "debug-macos-13", "name": "debug-macos-13",
"displayName": "Debug configure step for MacOS", "displayName": "Debug configure step for MacOS",
"description": "Used to generate debug configuration for MacOS", "description": "Used to generate debug configuration for MacOS",
"inherits": "default" "inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
}, },
{ {
"name": "ci-windows-2022", "name": "ci-windows-2022",
@ -129,6 +135,7 @@
"configurePreset": "ci-macos-13", "configurePreset": "ci-macos-13",
"displayName": "MacOS CI Build", "displayName": "MacOS CI Build",
"description": "This preset is used by the CI build on MacOS", "description": "This preset is used by the CI build on MacOS",
"configuration": "Release",
"jobs": 2 "jobs": 2
}, },
{ {
@ -136,6 +143,7 @@
"configurePreset": "debug-macos-13", "configurePreset": "debug-macos-13",
"displayName": "MacOS Debug Build", "displayName": "MacOS Debug Build",
"description": "This preset is used to debug the build on MacOS", "description": "This preset is used to debug the build on MacOS",
"configuration": "Debug",
"jobs": 2 "jobs": 2
} }
], ],
@ -183,7 +191,7 @@
"configurePreset": "ci-windows-2022", "configurePreset": "ci-windows-2022",
"displayName": "CI Tests on windows", "displayName": "CI Tests on windows",
"description": "Runs all tests on a windows configuration", "description": "Runs all tests on a windows configuration",
"configuration": "RelWithDebInfo", "configuration": "Release",
"execution": { "execution": {
"jobs": 2 "jobs": 2
}, },