forked from jesperhh/qmlfmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (34 loc) · 959 Bytes
/
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
version: 1.0.{build}
configuration: Release
platform: x64
image: Visual Studio 2017
environment:
CTEST_OUTPUT_ON_FAILURE: 1
install:
- cmd: git submodule update --init qt-creator
before_build:
- cmd: '"C:\Program Files (x86)\CMake\bin\cmake" ./ -G "Visual Studio 15 2017 Win64" -DCMAKE_PREFIX_PATH=C:/qt/5.13/msvc2017_64/ -DQMLFMT_VERSION:STRING=%APPVEYOR_REPO_TAG_NAME% -DQMLFMT_COMMIT:STRING=%APPVEYOR_REPO_COMMIT%'
build:
project: qmlfmt.sln
parallel: true
verbosity: normal
after_build:
- cmd: 7z a qmlfmt.zip %APPVEYOR_BUILD_FOLDER%\Release\qmlfmt.exe
test_script:
- cmd: >-
set PATH=C:\Qt\5.13\msvc2017_64\bin;%PATH%
msbuild check.vcxproj
artifacts:
- path: qmlfmt.zip
name: qmlfmt
deploy:
- provider: GitHub
auth_token:
secure: a/eMX85I7Kw+Mk4vfjfg5pN+jMqjfq4hXr3/JxIDeqcp+s+3iWV+r/TwUVQRSxAj
artifact: qmlfmt
on:
branch: master
APPVEYOR_REPO_TAG: true
branches:
only:
- master