-
Notifications
You must be signed in to change notification settings - Fork 28
/
appveyor.yml
61 lines (48 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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 2019
environment:
fast_finish: true
matrix:
- PLATFORM: x86
QT5: C:\Qt\5.15\msvc2019
CMAKE_GENERATOR: "NMake Makefiles"
- PLATFORM: x64
QT5: C:\Qt\5.15\msvc2019_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\strata
- 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\Strata-*.zip
name: Zip Archive
- path: build\Strata-*.exe
name: Installer
deploy:
description: 'Release description'
provider: GitHub
auth_token:
secure: /L7DNiUQ+uGPaKX0UDtaTiA1nNLNSj8dv9uGkvf66qi7L+w8MQvxxXvMUzQItdBT
draft: true
prerelease: false
on:
branch: master
appveyor_repo_tag: true # deploy on tag push only