-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathappveyor.yml
More file actions
80 lines (66 loc) · 1.72 KB
/
appveyor.yml
File metadata and controls
80 lines (66 loc) · 1.72 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: 2.2.4.{build}
image:
- Visual Studio 2017
- Ubuntu1804
platform:
- x86
- x64
configuration:
- Release
- Debug
- RelWithDebInfo
environment:
GEMFURY_TOKEN:
secure: rfQytGUfI+L49sRMSrxk7jhn9EcZZLUYXSCFrI0Asfva7Uxv3W9ORGj0SLhhTYLV
matrix:
- LINKING: static
- LINKING: shared
matrix:
exclude:
- image: Ubuntu1804
platform: x86
for:
-
matrix:
only:
- image: Ubuntu1804
build_script:
- mkdir build
- cd build
- export BUILD_SHARED=OFF
- if [ "$LINKING" == "shared" ] ; then export BUILD_SHARED=ON ; fi
- cmake -DBUILD_SHARED_LIBS=$BUILD_SHARED -DBUILD_TESTING=ON ..
- cmake --build . --config $CONFIGURATION
test_script:
- ctest -C $CONFIGURATION
after_test:
- if [ "$LINKING" == "shared" ] && [ "$CONFIGURATION" == "Release" ]; then ../packaging/make-deb.sh ; fi
-
matrix:
only:
- image: Visual Studio 2017
build_script:
- mkdir build
- cd build
- set FLAGS=
- if %LINKING%==static (set FLAGS=%FLAGS% -DBUILD_TESTING=ON)
- if %LINKING%==shared (set FLAGS=%FLAGS% -DBUILD_SHARED_LIBS=ON)
- if %PLATFORM%==x64 (set FLAGS=%FLAGS% -G "Visual Studio 15 2017 Win64")
- cmake %FLAGS% ..
- cmake --build . --config %CONFIGURATION%
test_script:
- if %LINKING%==static (ctest -C %CONFIGURATION%)
after_test:
- cpack -G ZIP -C %CONFIGURATION% -D CPACK_PACKAGE_FILE_NAME=riffcpp-2.2.3-%PLATFORM%-%CONFIGURATION%-%LINKING%
artifacts:
- path: 'build/riffcpp-*.zip'
deploy:
- provider: GitHub
auth_token:
secure: PKQ8wyiF5mNTAWbKepUrcnec7bucnXJ/T+Ip1NfxblviD6BqamxMuSQI1Kk5mCm+
artifact: /.*/
draft: true
prerelease: false
on:
branch: master
APPVEYOR_REPO_TAG: true