1
0

chore: use new github action build layout

This commit is contained in:
2026-02-03 15:49:47 +08:00
parent b06bd587f6
commit 90fe7ddcaf
15 changed files with 49 additions and 46 deletions

20
.github/scripts/zlib/windows.bat vendored Normal file
View File

@@ -0,0 +1,20 @@
@ECHO OFF
:: Create build and install directory
MKDIR build
MKDIR install
:: Record install directory first because build step require it
CD install
SET ZLIB_ROOT=%CD%
CD ..
:: Build with x64 architecture in Release mode
CD build
cmake -A x64 -DCMAKE_CXX_STANDARD=23 -DZLIB_BUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=%ZLIB_ROOT% ../..
cmake --build . --config Release
cmake --install . --config Release
CD ..
:: Back to root directory
CD ..