forked from msoos/cryptominisat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (38 loc) · 1.25 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
42
43
44
45
46
47
48
49
50
# branches to build
branches:
# whitelist
only:
- master
- appveyor_debug
# Operating system (build VM template)
os: Visual Studio 2015
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# clone directory
clone_folder: c:\projects\cryptominisat
platform: x64
configuration: Release
install:
# by default, all script lines are interpreted as batch
build:
project: INSTALL.vcxproj # path to Visual Studio solution or project
# scripts to run before build
before_build:
- echo Running cmake...
- cd c:\projects\cryptominisat
- cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 14 2015 Win64" -DSTATICCOMPILE=ON -DCMAKE_INSTALL_PREFIX=%P%
# scripts to run after build
after_build:
- cd %P%
- 7z a c:\projects\cryptominisat\cryptominisat.zip * -tzip
- cd c:\projects\cryptominisat
artifacts:
- path: cryptominisat.zip
name: cryptominisat.zip
deploy_script:
#- cd c:\projects\cryptominisat
#- curl -T cryptominisat.zip --user %ACCOUNT% https://someplace/
on_finish:
# to connect over rdp after build finished
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))