zlib-build.bat
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -59,7 +59,7 @@ jobs:
|
||||
working-directory: deps/zlib
|
||||
if: ${{ matrix.os == 'windows' }}
|
||||
- name: Build zlib for linux
|
||||
run: ls && make && make install && ls
|
||||
run: make && sudo make install
|
||||
working-directory: deps/zlib/build
|
||||
if: ${{ matrix.os == 'ubuntu' }}
|
||||
- name: Build zlib for windows
|
||||
|
9
.github/workflows/scripts/win/zlib-build.bat
vendored
Normal file
9
.github/workflows/scripts/win/zlib-build.bat
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
vcpkg integrate install
|
||||
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
for /f "usebackq tokens=*" %%i in (`vswhere -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe`) do (
|
||||
"%%i" -clp:ForceConsoleColor -target:Build -property:Configuration=Release -property:Platform=%1 -property:VcpkgEnableManifest=true "deps/zlib/build/zlib.sln"
|
||||
exit /b !errorlevel!
|
||||
)
|
Reference in New Issue
Block a user