-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
44 lines (36 loc) · 1.29 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
os: Visual Studio 2015
environment:
matrix:
- platform: x86
compiler: "Visual Studio 14 2015"
configuration: Release
- platform: x64
compiler: "Visual Studio 14 2015 Win64"
configuration: Release
install:
- git submodule update --init --recursive
build_script:
- mkdir build && cd build
- cmake .. -G "%compiler%"
- cmake --build . -- /verbosity:minimal /p:Configuration=Release
after_build:
- del /F /S /Q /A %APPVEYOR_BUILD_FOLDER%\dummies\*.pdb
- del /F /S /Q /A %APPVEYOR_BUILD_FOLDER%\dummies\*.ilk
- del /F /S /Q /A %APPVEYOR_BUILD_FOLDER%\dummies\*.lib
- del /F /S /Q /A %APPVEYOR_BUILD_FOLDER%\dummies\*.exp
- xcopy %APPVEYOR_BUILD_FOLDER%\src %APPVEYOR_BUILD_FOLDER%\dummies\sources /i
- copy %APPVEYOR_BUILD_FOLDER%\README.md %APPVEYOR_BUILD_FOLDER%\dummies\readme.txt
- copy %APPVEYOR_BUILD_FOLDER%\LICENSE %APPVEYOR_BUILD_FOLDER%\dummies\license.txt
- 7z a %APPVEYOR_BUILD_FOLDER%\dummies-win-%platform%.zip %APPVEYOR_BUILD_FOLDER%\dummies\
artifacts:
- path: '*.zip'
deploy:
provider: GitHub
auth_token:
secure: hFOC0oRou0A7cFLF/0b5hyXE/lXyb1oa2dg6LdSyT5Je70m0DQAJ5cKa4cUbvfWe
artifacts: /.*\.zip/
on:
appveyor_repo_tag: true
notifications:
- provider: Email
on_build_status_changed: false