Skip to content

Commit

Permalink
[gha] Test MSVC build
Browse files Browse the repository at this point in the history
  • Loading branch information
r4sas authored Aug 5, 2023
1 parent 38795a4 commit 7fed0ae
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build-windows-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@ jobs:
with:
fetch-depth: 0

- name: Build and install zlib
- name: Build and install zlib (Release)
env:
BUILD_TYPE: Release
run: |
powershell -Command "(Invoke-WebRequest -Uri https://raw.githubusercontent.com/r4sas/zlib.install/master/install.bat -OutFile install_zlib.bat)"
powershell -Command "(Get-Content install_zlib.bat) | Set-Content install_zlib.bat" # fixing line endings
set BUILD_TYPE=Debug
./install_zlib.bat
set BUILD_TYPE=Release
del install_zlib.bat
- name: Build and install zlib (Debug)
env:
BUILD_TYPE: Debug
run: |
powershell -Command "(Invoke-WebRequest -Uri https://raw.githubusercontent.com/r4sas/zlib.install/master/install.bat -OutFile install_zlib.bat)"
powershell -Command "(Get-Content install_zlib.bat) | Set-Content install_zlib.bat" # fixing line endings
./install_zlib.bat
del install_zlib.bat
Expand Down

0 comments on commit 7fed0ae

Please sign in to comment.