[WORKFLOW]: CI Update

This commit is contained in:
2025-12-21 23:06:34 +05:30
parent 3550fdd52e
commit 1b1c62c843
3 changed files with 29 additions and 4 deletions

View File

@ -25,5 +25,5 @@ jobs:
run: cmake --preset ${{ matrix.target }}
- name: Build
run: cmake --build --preset ${{ matrix.target }} --config Debug
run: cmake --build --preset ${{ matrix.target }} --config Release

View File

@ -2,7 +2,7 @@ include(FetchContent)
set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "Force static libs")
find_package(OpenSSL REQUIRED)
find_package(OpenSSL 3.0.0 REQUIRED)
find_package(zstd CONFIG REQUIRED)
find_package(zlib-ng CONFIG REQUIRED)
@ -80,8 +80,11 @@ set(MI_BUILD_SHARED OFF CACHE BOOL "" FORCE)
set(EXPECTED_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(HTTPLIB_REQUIRE_OPENSSL OFF CACHE BOOL "" FORCE)
set(HTTPLIB_REQUIRE_ZLIB OFF CACHE BOOL "" FORCE)
set(HTTPLIB_REQUIRE_OPENSSL ON CACHE BOOL "" FORCE)
set(HTTPLIB_REQUIRE_ZLIB ON CACHE BOOL "" FORCE)
set(HTTPLIB_NO_EXCEPTIONS ON CACHE BOOL "" FORCE)
set(HTTPLIB_COMPILE OFF CACHE BOOL "" FORCE)
set(HTTPLIB_TEST OFF CACHE BOOL "" FORCE)
set(HTTPLIB_EXAMPLE OFF CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(httplib pugixml nlohmann_json glaze simdjson tl-expected unordered_dense mimalloc)

View File

@ -59,5 +59,27 @@
"VCPKG_TARGET_TRIPLET": "wasm32-emscripten-clang"
}
}
],
"buildPresets": [
{
"name": "linux-x64",
"configurePreset": "linux-x64"
},
{
"name": "linux-arm64",
"configurePreset": "linux-arm64"
},
{
"name": "windows-x64",
"configurePreset": "windows-x64"
},
{
"name": "windows-arm64",
"configurePreset": "windows-arm64"
},
{
"name": "wasm",
"configurePreset": "wasm"
}
]
}