-
Notifications
You must be signed in to change notification settings - Fork 23
34 lines (28 loc) · 913 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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