Skip to content

Commit c7ae06c

Browse files
committed
final? cleanup
1 parent fdc53a3 commit c7ae06c

File tree

1 file changed

+9
-40
lines changed

1 file changed

+9
-40
lines changed

.appveyor.yml

+9-40
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,35 @@
11
version: '{branch}-{build}'
2-
# build Configuration
3-
configuration: Release
4-
# clone directory
2+
configuration: RelWithDebInfo
53
clone_folder: C:\Textractor
6-
# Do not build feature branch with open Pull Requests
74
skip_branch_with_pr: false
8-
# environment variables
5+
96
environment:
107
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
198
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
9+
arch: x64
2010
msvc_name: Visual Studio 16 2019
2111
platform: x64
2212
qtbin: msvc2017_64
23-
suffix: x64
2413
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
14+
arch: x86
2515
msvc_name: Visual Studio 16 2019
2616
platform: Win32
2717
qtbin: msvc2017
28-
suffix: x86
2918

3019
before_build:
3120
- cd C:\
32-
- mkdir %suffix%
33-
- cd %suffix%
21+
- mkdir %arch%
22+
- cd %arch%
3423
- cmake -G "%msvc_name%" -A "%platform%" -DQt5_DIR="C:\Qt\5.13\%qtbin%\lib\cmake\Qt5" -DCMAKE_BUILD_TYPE="RelWithDebInfo" ../Textractor
3524

3625
build:
37-
project: C:\%suffix%\Textractor.sln
26+
project: C:\%arch%\Textractor.sln
3827
parallel: true
3928
verbosity: normal
4029

4130
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
6433

6534
notifications:
6635
- provider: Email

0 commit comments

Comments
 (0)