-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
62 lines (49 loc) · 1.46 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
51
52
53
54
55
56
57
58
59
60
61
version: '{build}'
branches:
except:
- /^travis.*$/
init:
- git config --global core.autocrlf input
clone_depth: 1
# https://www.appveyor.com/docs/build-environment/#build-worker-images
image: Visual Studio 2015
environment:
fast_finish: true
matrix:
- PLATFORM: x86
QT5: C:\Qt\5.11\msvc2015
CMAKE_GENERATOR: "NMake Makefiles"
- PLATFORM: x64
QT5: C:\Qt\5.11\msvc2015_64
CMAKE_GENERATOR: "NMake Makefiles"
configuration: Release
# Configure git linebreaks
cache:
- c:\projects\gsl -> appveyor.yml
- c:\projects\qwt -> appveyor.yml
install:
- contrib\install_appveyor_dependencies.bat
build_script:
- CD C:\projects\sigmaspectra
- MKDIR build
- CD build
- cmake -DGSL_ROOT_DIR=%GSL_ROOT_DIR% -DQWT_ROOT_DIR=%QWT_ROOT_DIR% -G "%CMAKE_GENERATOR%" ..
- cmake --build . --target install
- cmake --build . --target package
- cmake --build . --target archive
artifacts:
- path: build\SigmaSpectra-*.zip
name: Zip Archive
- path: build\SigmaSpectra-*.exe
name: Installer
deploy:
description: 'Release description'
provider: GitHub
auth_token:
secure: e/Uc+Q6xQyd6u9tBsvh6UlYfmmJgSL/cmoq6dhS5NHkgQAvETilqfDsO2euzazfp
draft: true
prerelease: false
on:
# branch: /v\d+\.\d+\.\d+/ # Match against the version tag
branch: master
appveyor_repo_tag: true # deploy on tag push only