-
Notifications
You must be signed in to change notification settings - Fork 2
/
.appveyor.yml
35 lines (28 loc) · 1.06 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
os: Visual Studio 2017
cache: c:\users\appveyor\clcache
environment:
BOOST_ROOT: C:\Libraries\boost_1_67_0
BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib64-msvc-14
init:
- set PATH=c:\Python37;c:\Python37\Scripts;%PATH%
- pip install clcache
before_build:
- clcache -s
build_script:
- md build
- cd build
- cmake -G "Visual Studio 15 2017 Win64" ..
- MSBuild Kriegerrand.sln /p:CLToolExe=clcache.exe /p:CLToolPath=c:\Python37\Scripts\ /p:Configuration=Release /m
- src\Release\cryptotest.exe
after_build:
- clcache -s
- if not defined APPVEYOR_REPO_TAG_NAME (set APPVEYOR_REPO_TAG_NAME=%APPVEYOR_REPO_COMMIT%)
- cd src\Release
- mkdir kriegerrand-%APPVEYOR_REPO_TAG_NAME%
- copy *.exe kriegerrand-%APPVEYOR_REPO_TAG_NAME%
- copy ..\..\..\LICENSE kriegerrand-%APPVEYOR_REPO_TAG_NAME%
- 7z a kriegerrand-%APPVEYOR_REPO_TAG_NAME%-windows.zip kriegerrand-%APPVEYOR_REPO_TAG_NAME%
- copy kriegerrand-%APPVEYOR_REPO_TAG_NAME%-windows.zip ..\..\..\
artifacts:
- path: kriegerrand-$(APPVEYOR_REPO_TAG_NAME)-windows.zip
name: KriegerrandRelease