|
1 | 1 | version: '{branch}-{build}'
|
2 |
| -# build Configuration |
3 |
| -configuration: Release |
4 |
| -# clone directory |
| 2 | +configuration: RelWithDebInfo |
5 | 3 | clone_folder: C:\Textractor
|
6 |
| -# Do not build feature branch with open Pull Requests |
7 | 4 | skip_branch_with_pr: false
|
8 |
| -# environment variables |
| 5 | + |
9 | 6 | environment:
|
10 | 7 | matrix:
|
11 |
| -# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 |
12 |
| -# platform: x64 |
13 |
| -# msvc_name: Visual Studio 15 2017 Win64 |
14 |
| -# suffix: Win64 |
15 |
| -# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 |
16 |
| -# platform: Win32 |
17 |
| -# msvc_name: Visual Studio 15 2017 |
18 |
| -# suffix: Win32 |
19 | 8 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
| 9 | + arch: x64 |
20 | 10 | msvc_name: Visual Studio 16 2019
|
21 | 11 | platform: x64
|
22 | 12 | qtbin: msvc2017_64
|
23 |
| - suffix: x64 |
24 | 13 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
| 14 | + arch: x86 |
25 | 15 | msvc_name: Visual Studio 16 2019
|
26 | 16 | platform: Win32
|
27 | 17 | qtbin: msvc2017
|
28 |
| - suffix: x86 |
29 | 18 |
|
30 | 19 | before_build:
|
31 | 20 | - cd C:\
|
32 |
| - - mkdir %suffix% |
33 |
| - - cd %suffix% |
| 21 | + - mkdir %arch% |
| 22 | + - cd %arch% |
34 | 23 | - cmake -G "%msvc_name%" -A "%platform%" -DQt5_DIR="C:\Qt\5.13\%qtbin%\lib\cmake\Qt5" -DCMAKE_BUILD_TYPE="RelWithDebInfo" ../Textractor
|
35 | 24 |
|
36 | 25 | build:
|
37 |
| - project: C:\%suffix%\Textractor.sln |
| 26 | + project: C:\%arch%\Textractor.sln |
38 | 27 | parallel: true
|
39 | 28 | verbosity: normal
|
40 | 29 |
|
41 | 30 | after_build:
|
42 |
| - - 7z a Textractor-Alpha%APPVEYOR_BUILD_NUMBER%-%suffix%.zip C:\Textractor\builds\RelWithDebInfo_%suffix%\* |
43 |
| - - appveyor PushArtifact Textractor-Alpha%APPVEYOR_BUILD_NUMBER%-%suffix%.zip |
44 |
| - |
45 |
| -#after_test: |
46 |
| -# - ps: if($env:APPVEYOR_REPO_BRANCH -eq "release" -and $env:packaging -eq "true") { $env:PUBLISH_BINARY = 'true' } |
47 |
| -# - ps: if($env:APPVEYOR_REPO_COMMIT_MESSAGE.contains('[publish]') -and $env:packaging -eq "true") { $env:PUBLISH_BINARY = 'true' } |
48 |
| -# - if [%PUBLISH_BINARY%]==[true] cmake --build c:\stellarium\build-%qtver%-%qtbin%\ --config %configuration% --target install |
49 |
| -# - if [%PUBLISH_BINARY%]==[true] appveyor DownloadFile https://github.com/Stellarium/stellarium-data/releases/download/qt-5.6/libGLES-%suffix%.zip -FileName c:\stellarium\build-%qtver%-%qtbin%\libGLES.zip |
50 |
| -# - if [%PUBLISH_BINARY%]==[true] 7z e c:\stellarium\build-%qtver%-%qtbin%\libGLES.zip -aoa -oc:\stellarium-%qtver%-%qtbin%\qt5stuff |
51 |
| -# - if [%PUBLISH_BINARY%]==[true] cmake --build c:\stellarium\build-%qtver%-%qtbin%\ --config %configuration% --target stellarium-installer |
52 |
| -# - if [%PUBLISH_BINARY%]==[true] cd c:\stellarium\installers |
53 |
| -# - if [%PUBLISH_BINARY%]==[true] for %%i in (*.exe) do appveyor PushArtifact %%i |
54 |
| -# |
55 |
| -## deployment |
56 |
| -#deploy: |
57 |
| -#- provider: Webhook |
58 |
| -# url: https://app.signpath.io/API/v1/a6a9173a-feb5-41ae-8973-8ca75af5e233/Integrations/AppVeyor?ProjectKey=stellarium&SigningPolicyKey=release-signing |
59 |
| -# authorization: |
60 |
| -# secure: k9Hka8MA6UONiSbKZeAv5koMEljPXgEZ7o1FbvEHRlPFFHMGzQcS6MQsvy53VxeTpG4Kw98FU0VXusbXoKLzug== |
61 |
| -# on: |
62 |
| -# branch: release |
63 |
| -# packaging: true |
| 31 | + - 7z a Textractor-Alpha%APPVEYOR_BUILD_NUMBER%-%arch%.zip C:\Textractor\builds\RelWithDebInfo_%arch%\* |
| 32 | + - appveyor PushArtifact Textractor-Alpha%APPVEYOR_BUILD_NUMBER%-%arch%.zip |
64 | 33 |
|
65 | 34 | notifications:
|
66 | 35 | - provider: Email
|
|
0 commit comments