forked from commontk/zlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
41 lines (41 loc) · 1.09 KB
/
appveyor.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
35
36
37
38
39
40
41
version: 0.0.{build}
os:
- Visual Studio 2022
clone_depth: 1
branches:
only:
- dcmqi
skip_tags: true
clone_folder: c:\zlib
configuration:
- Release
platform:
- x64
before_build:
- cmd: cmake --version
- cmd: mkdir c:\zlib\zlib-install
- cmd: mkdir c:\zlib\zlib-build
- cmd: cd c:\zlib\zlib-build
- cmd: cmake -G "Visual Studio 17 2022" -Ax64 -DCMAKE_BUILD_TYPE:STRING=Release -DZLIB_MANGLE_PREFIX:STRING=dcmqi_zlib_ -DCMAKE_INSTALL_PREFIX:PATH=c:\zlib\zlib-install -DBUILD_SHARED_LIBS:BOOL=OFF c:\zlib
- cmd: dir
after_build:
- cmd: dir c:\zlib\zlib-install
- cmd: cd c:\zlib\zlib-build
build_script:
- cmd: type zlib.sln
- cmd: msbuild zlib.sln /m
- cmd: msbuild INSTALL.vcxproj
cache:
- C:\ProgramData\chocolatey\bin
- C:\ProgramData\chocolatey\lib
artifacts:
- path: zlib-install
name: zlib-dcmqi
type: zip
deploy:
release: zlib-dcmqi-1.2.3-VS17-Win64-Release-static
provider: GitHub
description: 'zlib packaged by appveyor for dcmqi'
artifact: zlib-dcmqi
auth_token:
secure: ES/eqjQ0Yw+SY//wQdGB5zdHAqcAZDj75EzYjnvaibQa4LfjYaj4tWltthhvoiWe