Skip to content

CMake

CMake #31

Workflow file for this run

name: CMake
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 0 1 * *'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Create directory
run: mkdir ${{github.workspace}}\build
shell: cmd
- name: Install
working-directory: ${{github.workspace}}/build
run: powershell -Command "(Invoke-WebRequest -Uri https://git.io/JnHTY -OutFile install_zlib.bat)"; ./install_zlib.bat; del install_zlib.bat
shell: cmd
- name: Test
run: |
if NOT exist "%PROGRAMFILES%"\zlib\lib\zlib.lib exit 1
if NOT exist "%PROGRAMFILES%"\zlib\bin\zlib.dll exit 1
if NOT exist "%PROGRAMFILES%"\zlib\include\zconf.h exit 1
if NOT exist "%PROGRAMFILES%"\zlib\include\zlib.h exit 1
if NOT exist "%PROGRAMFILES%"\zlib\lib\zlib.lib exit 1
shell: cmd